thetawavegame / thetawave

A physics based, space shooter game made with Rust and the Bevy engine.
https://thetawave.metalmancy.tech
MIT License
159 stars 9 forks source link

Fix missile behavior by adding can_rotate variable to mobs #164

Closed cdsupina closed 4 months ago

cdsupina commented 4 months ago

Rapier updated what LockedAxes::ROTATION_LOCKED does. It no longer allows us to manually rotate mobs through modifying the Velocity of a Rigidbody. With this change we now conditionally added LockedAxes using a can_rotate variable in MobData.