You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently following a movement command, the spaceship rotation accelerates up to a certain angular velocity then it rotates with a constant angular velocity (if the angle is large enough, otherwise this constant velocity won't be reached), then it decelerates up to the target angle, it rests there for a little while then it turns back orienting itself in the direction of the camera.
The problem is that a new command during this time will interfere with the movement, because the code takes into account only the spaceship orientation, but not the angular velocity when a new orientation is required.
This obviously can be improved.
It's quite boring stuff so I probably won't change it for a while.
The text was updated successfully, but these errors were encountered:
Currently following a movement command, the spaceship rotation accelerates up to a certain angular velocity then it rotates with a constant angular velocity (if the angle is large enough, otherwise this constant velocity won't be reached), then it decelerates up to the target angle, it rests there for a little while then it turns back orienting itself in the direction of the camera.
The problem is that a new command during this time will interfere with the movement, because the code takes into account only the spaceship orientation, but not the angular velocity when a new orientation is required.
This obviously can be improved.
It's quite boring stuff so I probably won't change it for a while.
The text was updated successfully, but these errors were encountered: