I’m studying Unity3d, coming from a 2d background, and I’m a bit confused how some things work.
I’d like to slide a non-kinematic rigidbody, i.e. “just move it forward”, like if it was hovering over the terrain. Applying a force makes a ball rotate forward, while I wanted it to slide forward without rotating, also unless that force is huge, a cube just won’t move (for the same reason).
I understand there are kinematic objects which are “easier” to “just move”, but I both think I might really need non-kinematic ones, and I think I need to understand them anyway.
edit: I did try to use some “rotation constraints”, but they just prevented the sphere from moving at all.
There is an option in the rigidbody to constraint the rotation of an object. Maybe that's what you are looking for, after constraining the rotation, even if you add force to your ball it will just move forward.
– gajdot@gajdot nope, I tried that and it just refused to move at all (but I forgot to write this in the question, thanks)
– Lohoris2Do you need the rigid body for any reason? If you do, maybe try this: http://docs.unity3d.com/Documentation/ScriptReference/Rigidbody.MovePosition.html
– gajdot