Hi everyone,
physics noob here, I need help to construct a well made skateboard in unity.
right now what I have is:
A skateboard gameobject which contains : rigidbody, animator, a controller script and a skateboard script
and the following gameobject:
-
Colliders (empty gameobject):
- Wheel (wheel collider)
- Wheel (wheel collider)
- Wheel (wheel collider)
- Wheel (wheel collider)
-
Meshes (empty gameobject):
- Wheel (wheel mesh, mesh collider, rigidbody, wheel script)
- Wheel (wheel mesh, mesh collider, rigidbody, wheel script)
- Wheel (wheel mesh, mesh collider, rigidbody, wheel script)
- Wheel (wheel mesh, mesh collider, rigidbody, wheel script)
as you probably know, you can turn a skateboard when it’s accelerating by pressing your heels on the board:
this way the board deck rotates a bit, but the trucks and wheels stay straight.
this is what I want to achieve in unity, can you give me a good advice how to?
should I use some sort of physics component like springs?
I thought about doing an animation with just the board deck rotates, but I really want to achieve this with physics.