3DAssets.dev

Loading model

About

A rifle length assault rifle in machined alloy: a twenty inch barrel inside a quad rail, a top rail running the whole way to the muzzle, an adjustable skeleton stock and a compensating muzzle brake. Dimensions 0.065 x 0.202 x 0.960 m (X x Y x Z). Origin at the footprint centre, resting on y = 0; metre units, +Y up, muzzle and point toward +Z. Named pivots: magazine at (0, 0.118, -0.1018); charge at (0, 0.18, -0.2278). Connectors: optic optic-rail at (0, 0.2019, -0.0019) facing +Y; muzzle muzzle at (0, 0.1635, 0.4802) facing +Z; magazine magazine at (0, 0.118, -0.1018) facing -Y; underbarrel underbarrel at (0, 0.1278, 0.1701) facing -Y; side-rail side-rail at (-0.0357, 0.1635, 0.1892) facing -X. The trigger linkage, the gas system, the extractor, the feed pawls and any belt run are modelled as solids and left static: a rigid node transform cannot drive a linkage honestly, and faking one costs a consumer more than it gives. Rigid node-transform clips magazine-open, magazine-close, charge-open, charge-close drive named nodes on their own pivots. No skinning and no skeleton. Blued gunmetal, bright machined steel, dark anodised alloy, black and dark earth polymer, rubber, walnut, brass, copper, leather, olive paint, optical glass, concrete and emissive red, green and warm white for reticles, lasers, tritium and lamps. Physically based flat colours with no texture maps. Original invented design: no real make, model, manufacturer or marking is represented. Free 3D model for Unity, Godot, Unreal, three.js and Blender. No collision or navigation data.

Use with an AI agent

Copy this prompt into your AI chat, then describe what you want to build with the asset.

Use the “Long Barrel Rifle (Mega Weapon Pack)” asset in my project.

Model: https://cdn.3dassets.dev/assets/33320/v1/model.glb
Asset page: https://3dassets.dev/assets/mega-weapon-pack-long-barrel-rifle-7f6e9995
Description: A rifle length assault rifle in machined alloy: a twenty inch barrel inside a quad rail, a top rail running the whole way to the muzzle, an adjustable skeleton stock and a compensating muzzle brake. Premium modern game asset for shooter and survival projects.

- Dimensions (X × Y × Z): 0.065 × 0.202 × 0.96 metres
- Triangles: 50.5k
- Animations: magazine-open, magazine-close, charge-open, charge-close
- Licence: CC0 1.0 Universal (https://creativecommons.org/publicdomain/zero/1.0/)
- Loading: Three.js GLTFLoader; no additional decoders required.

Also available as JSON, Markdown, or via the MCP server.

Import manually

Choose your framework, then copy the code into your project to load the asset.

import { GLTFLoader } from 'three/addons/loaders/GLTFLoader.js'
import { AnimationMixer } from 'three'

let mixer

const loader = new GLTFLoader()
loader.load('https://cdn.3dassets.dev/assets/33320/v1/model.glb', (gltf) => {
  scene.add(gltf.scene)
  mixer = new AnimationMixer(gltf.scene)
  mixer.clipAction(gltf.animations[0]).play()
})

// Call from your render loop; deltaSeconds is time since the previous frame.
function updateAssetAnimation(deltaSeconds) {
  mixer?.update(deltaSeconds)
}

Common questions

How do I use Long Barrel Rifle (Mega Weapon Pack) with my AI development tools?
Press "Copy for AI agent" above and paste the prompt into Claude Code, Cursor, Codex, GitHub Copilot, ChatGPT or any other coding assistant. The prompt carries the direct CDN URL, the real-world size, the licence and the loading notes, so the assistant can fetch the model and place it in your project without you writing the loader yourself. For a permanent connection, add the 3DAssets.dev MCP server to your tool with one command (for Claude Code: claude mcp add --transport http 3dassets https://3dassets.dev/mcp) and the assistant can then search the whole catalogue, fetch files and read the usage snippets on its own.

MCP server setupGuide for AI agents

How do I get started?
Three ways, from quickest to most automatic. Download the .glb with the button and drop it into your engine's asset folder, where it imports like any glTF file. Or skip the download: copy the three.js, React Three Fiber or model-viewer snippet under "Import manually", which loads the model straight from the CDN. Or connect your AI agent to the MCP server and ask for it by name, and it will find, fetch and place the model for you.

MCP server setupAPI reference

Which game engines and tools can I use Long Barrel Rifle (Mega Weapon Pack) with?
Anything that reads glTF, which today means all of the major ones: three.js and React Three Fiber on the web, Godot 4, Unity, Unreal Engine 5, Blender and the model-viewer web component. The model is a self-contained binary glTF (.glb) with textures embedded, so there is one file to import and no plugin, converter or decoder to install first.
How do I import this model into Unity, Godot, Unreal or Blender?
Unity: install the glTFast package (com.unity.cloud.gltfast) from the Package Manager, drop the .glb into Assets and drag the prefab in, or load it at runtime from the CDN URL. Godot 4: copy the file into the project folder and the editor imports it as a scene you can instantiate. Unreal Engine 5: File > Import with the built-in glTF importer, which converts the axes for you. Blender: File > Import > glTF 2.0. Units are metres with +Y up in the file, and every importer above handles the conversion to its own axes automatically.
Can I use Long Barrel Rifle (Mega Weapon Pack) in a commercial game, and do I need to credit anyone?
Yes to commercial use and no to credit. Every model on 3DAssets.dev is released under CC0 1.0 Universal, which places it in the public domain: use it in a paid game, an app, a film or a client project, modify it, redistribute it, and put nothing in the credits. A link back is welcome but it is entirely your choice.

CC0 licence text

Can I load it from the CDN instead of downloading it?
Yes. The .glb file has a permanent URL on cdn.3dassets.dev that is CORS-enabled and never changes content, so you can pass it straight to GLTFLoader, glTFast or model-viewer in production and cache it as hard as you like. Downloading is only needed for engines that import from disk.
Do I need Draco, Meshopt or KTX2 to load it?
No. The geometry is quantized with KHR_mesh_quantization and the textures are re-encoded to WebP, both of which three.js, Godot, Unity and Blender read natively, so a plain GLTFLoader is enough. There is nothing extra to configure and no decoder to ship with your bundle.

Long Barrel Rifle (Mega Weapon Pack)

A rifle length assault rifle in machined alloy: a twenty inch barrel inside a quad rail, a top rail running the whole way to the muzzle, an adjustable skeleton stock and a compensating muzzle brake. Premium modern game asset for shooter and survival projects.

Download asset · 1.6 MB

More in Weapons & Tools

Standard Assault Rifle (Mega Weapon Pack)Animated

Standard Assault Rifle (Mega Weapon Pack)

A standard issue assault rifle with a ribbed polymer handguard, a fixed stock, an aperture rear sight on the receiver rail and a birdcage flash hider on a threaded muzzle. Premium modern game asset for shooter and survival projects.

@3dassets37.9k tris · 39 ↓
Bolt-action precision rifle (FPS Guns and Shooting Range)Animated

Bolt-action precision rifle (FPS Guns and Shooting Range)

Bolt-action precision rifle with original detailed construction in metres.

@3dassets10.6k tris · 38 ↓
General Purpose Machine Gun (Mega Weapon Pack)Animated

General Purpose Machine Gun (Mega Weapon Pack)

A belt fed general purpose machine gun in olive: a heavy quick change barrel with a lift handle over the gas system, a hinged feed tray cover, a linked belt climbing out of a box on the left, a wide bipod at the gas block and a fixed shoulder stock. Premium modern game asset for

@3dassets47.5k tris · 33 ↓
Service Pistol (Mega Weapon Pack)Animated

Service Pistol (Mega Weapon Pack)

A full size service self loading pistol with a stippled polymer grip, a slide cut optic plate, a dust cover accessory rail and an aperture rear sight. Premium modern game asset for shooter and survival projects.

@3dassets29.6k tris · 30 ↓
Angled Fore Grip (Mega Weapon Pack)

Angled Fore Grip (Mega Weapon Pack)

An angled fore grip that rakes forward under the handguard, with a stippled front face, finger stops along the back and a rail clamp on top. Premium modern game asset for shooter and survival projects.

@3dassets5.5k tris · 29 ↓
Vertical Fore Grip (Mega Weapon Pack)

Vertical Fore Grip (Mega Weapon Pack)

A vertical fore grip: a ribbed polymer column with a screw off base cap over a storage cavity, a stippled panel each side and a rail clamp on top. Premium modern game asset for shooter and survival projects.

@3dassets8.4k tris · 29 ↓
Gas Grenade (Mega Weapon Pack)

Gas Grenade (Mega Weapon Pack)

A riot gas grenade with ten emission ports, a ribbed can body, a stencil band and a lever fuze with a pull ring. Premium modern game asset for shooter and survival projects.

@3dassets10.5k tris · 29 ↓
Fragmentation Grenade (Mega Weapon Pack)

Fragmentation Grenade (Mega Weapon Pack)

A segmented body fragmentation hand grenade with cast grooves round and up the body, a knurled fuze, a striker lever and a pull ring on a split pin. Premium modern game asset for shooter and survival projects.

@3dassets13.2k tris · 29 ↓
Compact submachine gun (FPS Guns and Shooting Range)Animated

Compact submachine gun (FPS Guns and Shooting Range)

Compact submachine gun with original detailed construction in metres.

@3dassets11.3k tris · 29 ↓
Riveted toolbox (Steampunk Airship Dock and Workshop)Animated

Riveted toolbox (Steampunk Airship Dock and Workshop)

A 0.52 m riveted steel toolbox with a hinged lid and a swing handle.

@3dassets296 tris · 28 ↓
Steel tool chest (Steampunk Airship Dock and Workshop)Animated

Steel tool chest (Steampunk Airship Dock and Workshop)

A riveted steel tool chest with a lift lid, ring handles and four drawer fronts.

@3dassets472 tris · 28 ↓
Chassis Sniper, Scoped (Mega Weapon Pack)Animated

Chassis Sniper, Scoped (Mega Weapon Pack)

The chassis bolt action sniper with a long eight times scope on its rail and a precision suppressor on the muzzle. Premium modern game asset for shooter and survival projects.

@3dassets94.3k tris · 28 ↓

Similar assets

Long Barrel Rifle, Suppressed (Mega Weapon Pack)Animated

Long Barrel Rifle, Suppressed (Mega Weapon Pack)

The long barrelled rifle with a rifle suppressor on the threaded muzzle and a four times scope on the receiver rail. Premium modern game asset for shooter and survival projects.

@3dassets73.5k tris · 8 ↓
Bullpup Marksman Rifle (Mega Weapon Pack)Animated

Bullpup Marksman Rifle (Mega Weapon Pack)

A bullpup semi automatic marksman rifle in olive polymer: the action sits behind the grip inside the receiver shell, so a long barrel fits in a weapon little over a metre, with a short quad rail forend and a full length top rail. Premium modern game asset for shooter and survival

@3dassets45.7k tris · 8 ↓
Integrally Suppressed Rifle (Mega Weapon Pack)Animated

Integrally Suppressed Rifle (Mega Weapon Pack)

An integrally suppressed rifle in machined alloy whose barrel runs inside a ported alloy shroud for most of its length, with a slotted handguard, a collapsing stock and flip up sights. Premium modern game asset for shooter and survival projects.

@3dassets68.6k tris · 10 ↓
Bullpup Rifle (Mega Weapon Pack)Animated

Bullpup Rifle (Mega Weapon Pack)

A bullpup assault rifle: the magazine and the action sit behind the trigger inside a full length receiver, so a long barrel fits in a short weapon. The butt pad and cheek comb are part of the receiver. Premium modern game asset for shooter and survival projects.

@3dassets45.3k tris · 11 ↓
Long Rifle Arm (Mech Robots and Battle Hangar)

Long Rifle Arm (Mech Robots and Battle Hangar)

Medium arm-mounted long rifle with a scope block and slender 2.7 m barrel.

@3dassets180 tris · 12 ↓
Two Inch Tape Machine (Music Recording Studio and Instruments)Animated

Two Inch Tape Machine (Music Recording Studio and Instruments)

A two inch multitrack tape machine, the hero piece of a control room: a pedestal cabinet with a timber front under an upright transport deck carrying two 10 inch reels with spoked flanges and brass hubs, a head block, five transport buttons and two meters. 1.3 m tall.

@3dassets2.5k tris · 9 ↓
Long dress on a hanger (Clothing Rail and Wardrobe)

Long dress on a hanger (Clothing Rail and Wardrobe)

The same dress cut to the floor in navy, with a wider skirt flare, for the long end of a rail or a fitting room hook. It needs a rail at least 1.4 m clear of the floor.

@3dassets780 tris · 11 ↓
Marksman Rifle (Mega Weapon Pack)Animated

Marksman Rifle (Mega Weapon Pack)

A marksman length rifle with a heavy free floating barrel, a full length top rail for a magnified optic, an adjustable skeleton stock and a folding bipod. Premium modern game asset for shooter and survival projects.

@3dassets54.3k tris · 17 ↓
Semi Auto Marksman Rifle (Mega Weapon Pack)Animated

Semi Auto Marksman Rifle (Mega Weapon Pack)

A semi automatic designated marksman rifle built on an assault rifle receiver rather than a chassis: a lengthened barrel under a slotted handguard, a collapsing stock on a notched buffer tube, flip up sights, dark earth furniture and a twenty round magazine. Premium modern game a

@3dassets54.1k tris · 13 ↓
Anti Materiel Rifle (Mega Weapon Pack)Animated

Anti Materiel Rifle (Mega Weapon Pack)

An anti materiel rifle, the longest and heaviest weapon in the pack: a metre of heavy barrel inside a quad rail, a fist sized two chamber muzzle brake, a carry handle over the receiver, a monopod under the toe and a wide bipod on the receiver front. Premium modern game asset for

@3dassets76.7k tris · 19 ↓
Running Rail Run (Racecourse and Parade Ring)

Running Rail Run (Racecourse and Parade Ring)

An 8 m run of white plastic running rail: a top rail at 1.12 m, a mid rail and posts on 4 m centres, ported at both ends so runs couple into a continuous rail of any length.

@3dassets120 tris · 19 ↓