- Home /
Character Rides In Vehicle
I have made a car in my first person shooter and am now trying to pput the player inside it. I want the player (a skinned mesh human) to be affected by accelaration and falling in the car as a rigidbody would be, but still stay in the seat of the car. Also, their hands need to stay bolted to the steering wheel, and, as the camera will be on the head of the character, the head needs to be reasonably steady. The type of colliders used do not matter much, as I have not got any yet.
I have tried using ragdolls and fixed joints, but the player tends to fall out of the car and go flying off the map, or just flap around violently in the back of the car. Also fixed joints always seem to bend and stretch slightly, is this meant to happen?
If you want an idea of the kind of effect I am lookin for, something like driving in battlefield 3 would be good: http://youtu.be/Oi-nrVc3F6E?t=23s.
Please could someone help me do this?
Answer by gregzo · Jul 26, 2013 at 08:34 PM
If you have the budget ( 150$ ), you might check out MegaFiers, a tool to deform meshes. What you are describing might be achieved with these techniques ( http://www.youtube.com/watch?v=1T1nFZtkvro ).
Maybe. Let me know if that looks like what you're after.
Edit : Sorry, I thought you wanted the actual character model to react in a car. After watching the vid, it seems like you need to add a spring joint to your camera. Maybe re-parent your camera when the player enters a car, and place it on a spring joint linked to the car itself.
Your answer
Follow this Question
Related Questions
How is wheelCollider RPM calculated exactly? 1 Answer
car wheels brakes 2d 1 Answer
Problems with ragdolls and no gravity 0 Answers
Cannot assign to 'Death' because its a method group 2 Answers
Crash Dummy Sim 0 Answers