Forces in dynamically added nodes are not working #5523
Replies: 1 comment
-
|
I got it working now. instead of removing and readding the nodes, I call |
Beta Was this translation helpful? Give feedback.
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.
-
Hi guys,
i am currently working on a script where I load an xml file, remove some Box-Nodes and readd them later over time while the simulation is running. The script seems to be working correctly and the nodes are also added with all child elements, but netiher gravity nor the
ConstantForceFieldare working when the nodes are added this way. I also do not get any error messages.When I run the xml file by itself or just load the xml file without removing and readding the nodes it is working as expected.
I think I miss some kind of linking but I was not able to find anything.
The script:
The XML-File:
Beta Was this translation helpful? Give feedback.
All reactions