Game Development Reference
In-Depth Information
Loading an animated mesh
Loading an animated mesh is exactly the same as loading a normal mesh within the sand-
box. Simply create an animated mesh with the Core.CreateMesh function:
Sandbox.lua :
function Sandbox_Initialize(sandbox)
local soldier = Core.CreateMesh(
sandbox,
"models/futuristic_soldier/" ..
"futuristic_soldier_dark_anim.mesh");
Search WWH ::




Custom Search