|
I have a collider that is subject to 2 control methods. It is a wheel. When on the ground, I propel it, naturally, by adding torque, but I want to be able to move it in midair. I figured I would just add Forces, but I don't want the forces to be applied when the wheel it just sitting. So, in short, how to I check if the collider is on the ground or not? Note: I am NOT using a character controller, as I need to be affected by physics. I know it is easy that way, but a ChracterController is not an option.
(comments are locked)
|
|
Well, if it's a wheel, it's probably worth your time checking out the Wheel Collider docs. To answer your question, you would use OnCollisionStay with an That did it. Thanks! Though right after it turned out I could just add force and torque at the same time and it didn't mess things up, so the whole question was unnecessary. Ah well. Thanks though!
Jun 27 '11 at 07:31 PM
qwertyp
(comments are locked)
|
