Constraint to prevent a motorcycle from falling over
Posted: Sun Mar 06, 2016 7:49 pm
Hello,
I have a game with a motorcycle and the motorcycle falls over (to the left/right) because it has only two wheels.
My physics simulation is very simple and I just want to force the vehicle to always have a pitch value of zero, so it stands upright.
I have found contrains that are relative to another object. Do I have to add another object or is there an easy way to force one object to have a specific angle.
Tom
I have a game with a motorcycle and the motorcycle falls over (to the left/right) because it has only two wheels.
My physics simulation is very simple and I just want to force the vehicle to always have a pitch value of zero, so it stands upright.
I have found contrains that are relative to another object. Do I have to add another object or is there an easy way to force one object to have a specific angle.
Tom