Obi Particle Attachment - attach object without affecting physics? - Printable Version +- Obi Official Forum (https://obi.virtualmethodstudio.com/forum) +-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html) +--- Forum: Obi Rope (https://obi.virtualmethodstudio.com/forum/forum-4.html) +--- Thread: Obi Particle Attachment - attach object without affecting physics? (/thread-2570.html) |
Obi Particle Attachment - attach object without affecting physics? - FredL - 09-11-2020 Is there a way to attach an object to the end control point of an Obi Rope without affecting the rope's behaviour? (basically the attached object would be unaffected by Physics). I understand how to create an Obi Collider and attach this using on Obi Particle Attachment, but I think I need to add a Rigidbody to get the Obi Collider to follow the end control point of the rope (correct me if I'm wrong), and this changes the behaviour or the rope. Is there a way to either:
RE: Obi Particle Attachment - attach object without affecting physics? - josemendez - 09-11-2020 (09-11-2020, 07:32 PM)FredL Wrote: Is there a way to attach an object to the end control point of an Obi Rope without affecting the rope's behaviour? (basically the attached object would be unaffected by Physics). No need for the attached object to have a rigidbody. You can use any transform. Just make sure the attachment is set to static. See: http://obi.virtualmethodstudio.com/tutorials/attachments.html To get the position of any particle in the rope, use the particle API: http://obi.virtualmethodstudio.com/tutorials/scriptingparticles.html RE: Obi Particle Attachment - attach object without affecting physics? - FredL - 09-11-2020 (09-11-2020, 08:05 PM)josemendez Wrote: No need for the attached object to have a rigidbody. You can use any transform. Code: Vector3 pos = solver.renderablePositions[actor.solverIndices[0]]; Just what I was looking for, many thanks. |