Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  prevent dynamic attachment from disjointing on re-enable
#3
(08-07-2024, 12:10 PM)josemendez Wrote: This is the intended behavior, as explained the manual:
http://obi.virtualmethodstudio.com/manua...ments.html


Anytime an attachment is enabled, it attaches the particle group and the target at their current relative position. It won't move either of them, to prevent either adding unwanted energy to the simulation or moving a transform that might break your game's logic. In case you want the attachment to move either the particle group to a specific point on the target transform - or the target transform to the position of a particle in the group, the solution is to do it yourself before re-enabling the attachment:


let me know if you need further help,

kind regards
Thanks! I was setting the attachment target to null before updating the transform, but the transform would revert back after I reassigned the target. I took your suggestion and disabled the attachment rather than clearing its target before transforming it, and that worked as expected.
Reply


Messages In This Thread
RE: prevent dynamic attachment from disjointing on re-enable - by rystills - 09-07-2024, 01:41 AM