10-03-2022, 10:01 AM
(10-03-2022, 09:43 AM)josemendez Wrote: I recently modified the ObiParticleAttachment script for another user that had a similar requirement. You can find the modified script at the end of this thread:Looks good, but doubt it's ideal for my case- the least random way to reproduce issue is to disable rope, move target and reanable it- in this case shift stay the same (in more random way is hard to test...) - is it possible to call some function to reattach (or maybe don't update attachment in OnEnable?)
http://obi.virtualmethodstudio.com/forum...age-3.html
Note this works by "cheating", in the sense that the particle is always rendered at a fixed position relative to the target, so it looks like the dynamic attachment is a static one. However the physical location of the particle won't match the visual location.