Free account
Sign in to use Compose a GTA V scene and export spawn offsets
Import GTA V drawable assets and .glb reference models into a live Three.js scene, move and rotate each one with a transform gizmo, then export the layout as a positionOffset and rotation array in Lua and JS to spawn the composition in FiveM around an anchor.
- Runs in your browser
- Free to start
- No credit card
Discord sign-in takes a few seconds. We use it to save your work and unlock the tool.
Compose a GTA V scene and export spawn offsets
Import GTA V drawable assets and .glb reference models into a live Three.js scene, move and rotate each one with a transform gizmo, then export the layout as a positionOffset and rotation array in Lua and JS to spawn the composition in FiveM around an anchor.
How it works
- 1Import .ydr, .yft, .ydd, or .glb assets from the right sidebar.
- 2Click an asset in the list to focus it and show its move/rotate gizmo.
- 3Arrange the assets in the scene to build your layout.
- 4Click Get offsets to copy the Lua or JS array, and download the example FiveM resource.
Frequently asked questions
- What does Get offsets export?
- An array of objects, each with an assetModel name, a positionOffset (x, y, z), and a rotation (x, y, z) in degrees. The same data is offered in both Lua and JavaScript so you can paste it into a FiveM script.
- How do the offsets spawn in game?
- The example FiveM resource reads an anchor convar (x y z heading), rotates each positionOffset about the anchor, and creates the object there. Move or rotate the anchor and the whole composition follows.
- Can I import a .glb model?
- Yes, .glb models render in the scene as a visual reference, but they are preview-only. A .glb is not a GTA archetype, so it is excluded from the offsets array and the resource.
- Does it run in the browser?
- Yes. Drawables are decoded locally with WebAssembly and rendered in a Three.js scene. Building the offsets and the example resource also happens in your browser.