Closed jextrevor closed 6 years ago
We need to update the objects system to:
Update the velocity and angular velocity when thrusters/warp/impulse change
Update the rotation based on angular velocity
Update the rotation and/or position based on velocities being stored as local coordinates.
Vector math is getting really hairy, so I'm going to try to find a library where we can use quaternions and rotation matrices, and let that do the heavy lifting
We need to update the objects system to:
Update the velocity and angular velocity when thrusters/warp/impulse change
Update the rotation based on angular velocity
Update the rotation and/or position based on velocities being stored as local coordinates.