I’m trying to create a little Asteroid game (2.5D) but i don’t know how to do the rotation of the asteroids.
Every Asteroid has a rigidbody and an ‘Configurable Joint’ (locking the YMotion) script attached.
In an AsteroidBehaviour script i add a force to the object, it moves like an asteroid but it doesn’t rotate.
I tried several things to get it rotating but the rotation always affects the direction, the rotation should not affect the direction.
So locking the Y-Axis works, but the rotation still affects the direction (X & Z Axis).
Any ideas?