austinchambers / multiplayer-vr

A multiplayer VR game
1 stars 2 forks source link

Fix yaw on submarines #85

Closed damlaren closed 9 years ago

damlaren commented 9 years ago

For some reason, yawing the sub doesn't move it in a perfectly level plane. This is annoying.

damlaren commented 9 years ago

This is a side effect of using physics. For some reason the sub rolls when a yaw torque is applied. Maybe because the center of mass is different from the actor location?

Anyway, I added some torque to compensate for the roll when the sub yaws, and now it feels pretty good.