- Home /
character joint scripting HELP!!!
i try to change the characterjoint limits... example i wrote this
var PlayerUperLegs: Rigidbody[];
function Update() if(Input.GetButton("c")){ PlayerUperLegs.CharacterJoint.LowTwistLimt.Limit = 60;}
But it says... character joint is not in the unityengine of rigidbody!!! WTF HOW do i change it
Comment
Best Answer
Answer by ScroodgeM · Jul 27, 2012 at 04:07 PM
you must make a loop to do something with array. PlayerUperLegs is not a Rigidbody, but PlayerUperLegs[N] is
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Sprint Error script? 2 Answers
The rigidbody component in my object won't reset. 1 Answer
Disabling Rigidbody constraints on GameObject that script is attached to 3 Answers
Animation Script Help 0 Answers