Using a rigid body on a plane

I am wondering what is the best way to emulate plane movment on a rigidbody. I currently use a character controller and was wondering if I could do the samething effecticly with a rigidbody (without things like it doing in the direction you were flying ect)

thanks

Moving ridigbodies isn’t easy. You can’t move a rigidbody with translate or other simple relative or absolute movements, because physics do not detect collisions correctly - even worse, if some rigidbody is translated to some place where it intersects other rigidbody, both can be repelled and start to rotate crazily. So, you will have to change its position by applying forces (what is hard to control) or by changing its velocity (less difficult, but still a pain in the ass). No matter how you get it moving, when your rigidbody is running at some velocity and collides with a heavy or static object, the reaction will make it go in another direction with almost the same velocity, what will be hard to control (I suppose you can use OnCollisionEnter to change the velocity direction and slide along the obstacle, but have not tested it). Steps are another problem: the character controller can climb them, but the rigidbody will get stuck or start rotating. To avoid reactive rotation when colliding to anything, you must freeze rotations - it will disable the physics effects, but you can rotate it if you want with Rotate or other functions.

Well, this is just a simple overview of the problems you may experience - probably there will be several others. But, if you want to try, go ahead! If you succeed, a lot of guys will be interested in your work!