Support graceful removing bodies from simulation
Registered by
Václav Šmilauer
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 BodyRedirection
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- High
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- Approved
- Series goal:
- None
- Implementation:
- Implemented
- Milestone target:
- 0.5
- Started by
- Václav Šmilauer
- Completed by
- Václav Šmilauer
Whiteboard
(?)