Can InstancedRigidBodies have their own Attractors? #365
-
When I nest an Attractor in an InstancedRigidBodies tag I just get a single attraction point at the center of the scene despite all of the instances being placed properly in the scene. Not sure if I have multiple attractors at the center or it's just one. It works with a single RigidBody and I'm not sure if I'm reaching for a capability beyond what was intended. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Never tried this! But it might work to add an attractor within the <InstancedRigidBodies colliderNodes={[
<Attractor />
]} /> Again, I haven't tried this, but it should technically work. |
Beta Was this translation helpful? Give feedback.
Never tried this! But it might work to add an attractor within the
colliderNodes
array, as those are directly injected into the RigidBodies as children.Again, I haven't tried this, but it should technically work.