Caronte3D Posted November 27, 2025 Posted November 27, 2025 If I have a Lua script (component) attached to an animated model, how can play one of these animations at start? 1 Quote
Solution Josh Posted November 27, 2025 Solution Posted November 27, 2025 Cast the entity to a model, and then call the Animate method: function MyScript:Start() local model = Model(self) if model ~= nil then model:Animate("walk") end end https://www.leadwerks.com/learn/Model_Animate?lang=lua 2 Quote Let's build cool stuff and have fun.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.