Begin removal of Position component
The position component is redundant with the built-in Bevy Transform. I've updated the velocity integrator to use the transform directly. Physics still works, but things still set their initial locations through the Position component. I'll need to fix all those call sites.
This commit is contained in:
@@ -63,7 +63,6 @@ impl Plugin for AsteroidPlugin {
|
||||
FixedPostUpdate,
|
||||
(
|
||||
physics::integrate_velocity,
|
||||
physics::update_positions,
|
||||
physics::apply_rotation_to_mesh,
|
||||
)
|
||||
.run_if(in_state(GameState::Playing)),
|
||||
|
||||
Reference in New Issue
Block a user