0
$\begingroup$

Simple setup: enter image description here

When I've played an animation, an instanced cube has stayed put: enter image description here

$\endgroup$
0
$\begingroup$

First, you are setting their locations explicitly using the Transforms Output node, so the simulation obviously won't take effect. Second, objects need to be linked to the RigidBodyWorld collection, so you can use the following expression:

[collection.objects.link(obj) for obj in objects if obj.name not in collection.objects]

So, your node tree should be as follows:

Node Tree

$\endgroup$
  • $\begingroup$ It seems that it's called "Object Group Input" node in 2.0.4 version of animation nodes. After linking simulation works even with transformation. Why did you think this could not work with transformation? $\endgroup$ – Oleksiy Plotnyts'kyy Feb 12 at 17:01
  • $\begingroup$ @OleksiyPlotnyts'kyy Ah, I didn't realize you were using 2.7x. I didn't think it would work because the objects will have their locations overwritten by the transform output node. Maybe I am missing something. So this answer solved your problem? At least in the general sense? $\endgroup$ – Omar Ahmad Feb 12 at 17:28

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.