Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  ReattachingParticle
#9
(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:

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.
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?)
Reply


Messages In This Thread
ReattachingParticle - by alex798 - 21-02-2022, 04:08 PM
RE: ReattachingParticle - by josemendez - 24-02-2022, 08:53 AM
RE: ReattachingParticle - by alex798 - 09-03-2022, 02:11 PM
RE: ReattachingParticle - by josemendez - 09-03-2022, 02:51 PM
RE: ReattachingParticle - by alex798 - 10-03-2022, 09:05 AM
RE: ReattachingParticle - by josemendez - 10-03-2022, 09:32 AM
RE: ReattachingParticle - by alex798 - 10-03-2022, 09:39 AM
RE: ReattachingParticle - by josemendez - 10-03-2022, 09:43 AM
RE: ReattachingParticle - by alex798 - 10-03-2022, 10:01 AM
RE: ReattachingParticle - by josemendez - 10-03-2022, 10:36 AM
RE: ReattachingParticle - by alex798 - 10-03-2022, 10:50 AM
RE: ReattachingParticle - by josemendez - 10-03-2022, 11:01 AM
RE: ReattachingParticle - by alex798 - 10-03-2022, 11:24 AM
RE: ReattachingParticle - by josemendez - 10-03-2022, 11:37 AM
RE: ReattachingParticle - by alex798 - 10-03-2022, 11:42 AM
RE: ReattachingParticle - by josemendez - 10-03-2022, 11:51 AM
RE: ReattachingParticle - by josemendez - 10-03-2022, 11:54 AM
RE: ReattachingParticle - by alex798 - 10-03-2022, 12:13 PM
RE: ReattachingParticle - by josemendez - 10-03-2022, 12:26 PM
RE: ReattachingParticle - by alex798 - 15-03-2022, 03:50 PM