Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: spiralKing on April 13, 2013, 12:19:21 PM

Title: How do I lock a rigidbody's axis in playMaker
Post by: spiralKing on April 13, 2013, 12:19:21 PM
How do I lock a rigidbody's axis, I don't want the rigidbody to flip when it jumps
I want it's Y to stay up, and it's X to stay left & right

in java, I'd do it like this
"transform.rotation = Quaternion.LookRotation(Vector3.forward,Vector3.up"
Title: Re: How do I lock a rigidbody's axis in playMaker
Post by: MrMitch on April 13, 2013, 06:46:58 PM
I think 'Constraints' are what you're looking for, it's a part of the Rigidbody component.