Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Obi Particle Attachment - attach object without affecting physics?
#3
(09-11-2020, 08:05 PM)josemendez Wrote: 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/tutor...ments.html
To get the position of any particle in the rope, use the particle API: http://obi.virtualmethodstudio.com/tutor...icles.html


Code:
Vector3 pos = solver.renderablePositions[actor.solverIndices[0]];

Just what I was looking for, many thanks.
Reply


Messages In This Thread
RE: Obi Particle Attachment - attach object without affecting physics? - by FredL - 09-11-2020, 10:38 PM