Skip to content

Commit

Permalink
fix(physics): remove PhysicsBundle component when finished unpacking
Browse files Browse the repository at this point in the history
  • Loading branch information
fallenatlas committed Feb 17, 2024
1 parent b342eb5 commit 70ab51b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions engine/src/physics/plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ void cubos::engine::physicsPlugin(Cubos& cubos)
cmds.add(ent, impulse);

cmds.add(ent, AccumulatedCorrection{});
cmds.remove<PhysicsBundle>(ent);
}
});

Expand Down

0 comments on commit 70ab51b

Please sign in to comment.