YouGroove Posted March 19, 2013 Posted March 19, 2013 Is there a way to access bones of a character ? In programming reference, there is nothing ? Quote Stop toying and make games
YouGroove Posted March 19, 2013 Author Posted March 19, 2013 Here is some beginning example I'll add rotation later. function Script:Start() model = Model:Load("Models/other/box.mdl") end attaching code : function Script:UpdatePhysics() ... local child = self.entity:FindChild("Bone.004") local childPos =child:GetPosition(true) model:SetPosition(childPos.x,childPos.y,childPos.z) end 1 Quote Stop toying and make games
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.