Hello friends, In my prototype game I made a "car" and when the character comes near the car, it activates a trigger, so when I press "Fire1" the character becomes children of an object inside the car (assuming his position and rotation) and at same time it turns off the controller script I did to control this character. So the cars character controller wakes up so, now i can control the car with the character inside.
Everything works fine but some inertia or delay in the character position makes he move (in an inertia way) and it messes everything when the character is out of car (by inertia).
has somebody a clue? I Tried make the character controller kinematic, trigger the collider, change the mass, FixedUpdate() and nothing helps.
Answer by kmerino
Jan 20, 2011 at 12:45 AM
I think you may find that this thread relates: http://answers.unity3d.com/questions/8740/fps-getting-in-out-and-controlling-a-vehicle
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a user guide.
If you are a new user, check out our FAQ for more information.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
For troubleshooting common problems with Unity 5.x Editor (including Win 10).
Answers and Comments
No one has followed this question yet.
How to use character controller to push down hinge joint properly
Character Controller Jittering
RigidBody Character Controller Bug
jet pack physics with character controller
"Swimming" Physics with Rigidbodies