i make tank and i need turn turret or wheel, so that i use SetBonePosition
but i face some ploblem!!
[URL]http://www.youtube.com/watch?v=Cc5RTKA-PYg&feature=youtu.be[/URL]
[URL]http://www.youtube.com/watch?v=1cPl0pZohGA&feature=youtu.be[/URL]
(why i do not work video insert ??? lol)
it seem to occur shot gun or some active
[code]
function ENT:Think()
for i = 1, 10 do
local Wheel = self:LookupBone( "Wheel_"..i )
local vec,ang = self:GetBonePosition(Wheel)
ang:RotateAroundAxis(self:GetForward(),T )
self:SetBonePosition( Wheel, vec, ang )
end
T = T + 1
end
[/code]
Sorry, you need to Log In to post a reply to this thread.