Support graceful removing bodies from simulation

Registered by Václav Šmilauer on 2009-07-16

Currently, removing a body causes problems. Plan: BodyContainer will hold list of deleted ids which will be assigned again if a new body is inserted. All loops over bodies will have to skip non-existent bodies(or the iterator could skip them as well). Collider will handle non-existent bodies without crash or major performance hit: either their bbox will be kept at the last value forever, or the comparison function will never make inversion with non-existent body. (We shold also consider simpler container, BodyVector, instead of BodyRedirectionVector)

Blueprint information

Status:
Complete
Approver:
None
Priority:
High
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
milestone icon 0.5
Started by
Václav Šmilauer on 2009-11-20
Completed by
Václav Šmilauer on 2009-11-20

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.