Easy way to add and remove bodies on runtime #36
andreasfranke1
started this conversation in
Proposals
Replies: 1 comment
|
I'll bring a robust "removal" system that handles side effects correctly into the next v0.2.3 release. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Currently, we have issues with adding and removing custom bodies. Adding is a small problem, and by extending from IVBody, the problems have basically disappeared. However, removing still has a major issue: If removing while the camera is focussed, the camera will get removed, too. I'd love to have functions for explicitely adding and removing bodies again, or maybe even have them handle it automatically. We have a workaround for that, which I am just gonna paste here. Maybe it helps.
All reactions