Joint max. angle

Everything related to 3D programming
User avatar
Bananenfreak
Enthusiast
Enthusiast
Posts: 519
Joined: Mon Apr 15, 2013 12:22 pm

Re: Joint max. angle

Post by Bananenfreak »

I´m not sure whether this is what you´re looking for, but if you´re using ConeTwistJoints, you can do this:

Code: Select all

  SetJointAttribute(joint, #PB_ConeTwistJoint_SwingSpan, value)
  SetJointAttribute(joint, #PB_ConeTwistJoint_SwingSpan2, value)
  SetJointAttribute(joint, #PB_ConeTwistJoint_TwistSpan, value)
Image