Looking for advice on friction
Trying to make a skateboard game but having issue as the skateboard is not rolling back down the ramp as expected.
Using a mover to propel the skateboard which works fine up a ramp but very slowly rolls down at a funny angle.
My wheels turn like normal with bolts.
Think it is something to do with friction but played around with no joy.
Any suggestions?
-
I like to use the damping settings on a mover for this, as it offers more control than the sculpt friction setting. Set the overall damping to 100%. Then in the forward direction, set a low damping to act as wind and rolling resistance, and in the side direction, set a higher damping to act as friction. The board will tend to follow the path of least resistance.
Additionally, you can use logic to turn these values down if the board is in the air, so you don't have "ground friction". And if you want to get really fancy, you can lower the side damping at higher velocities to act as friction loss.
댓글을 남기려면 로그인하세요.