|
I have an arcade car that moves around. it's rotation is not realistic and can rotate any direction very fast. all gravity and rotation is under my control but since there is no rigidbody i can't avoid going throw other static objects. i need a way to bring it out when it goes into other objects. if i add a rigidbody and set 'Use Gravity' true then my car control system and physic simulation will mixed up and cause bad result. how can i do this?
(comments are locked)
|
|
Have you tried going through the Unity car tutorial? It will teach you how to create a basic car game and probably get you started. That is for realistic car. if CharacterController could be a Box my problem would be solved.
Jul 25 '12 at 04:30 AM
SkillDev
(comments are locked)
|

there may be something useful here, check out these scripts on UnifyCommunity :
http://unifycommunity.com/wiki/index.php?title=RigidbodyFPSWalker
http://unifycommunity.com/wiki/index.php?title=PhysicsFPSWalker
My character is a car with box collider and i want to rotate it. so i cant set 'rigidbody.freezeRotation = true;'
That is not the exact solution for my problem but gave me an idea to solve it. (I set my car to child of another GameObject with Rigidbody). Thanks.