Skip to content

Commit

Permalink
Make sure agents are left in the scene when collision behavior is stop
Browse files Browse the repository at this point in the history
  • Loading branch information
daphne-cornelisse committed Jan 17, 2025
1 parent 7687dad commit 38c525f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/sim.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,6 @@ inline void movementSystem(Engine &e,
if (collisionEvent.hasCollided.load_relaxed()) {
switch (e.data().params.collisionBehaviour) {
case CollisionBehaviour::AgentStop:
e.get<Done>(agent_iface.e).v = 1;
agentZeroVelSystem(e, velocity);
break;

Expand Down

0 comments on commit 38c525f

Please sign in to comment.