Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  ReattachingParticle
#4
(09-03-2022, 02:11 PM)alex798 Wrote: Hi,

Thanks, but how it's done programmically- Now I do this in update and check if group separates for example 1sm- so reattachment is not so far but rotation is off, and distance is not ideal... How to teleport and rotate attachment?- if this can be done I won't teleport particicles (cause it hinders nearby particles) and just return target to place...

Targets are just regular Unity objects, so you teleport them by simply setting their position and/or rotation:

Code:
object.transform.position = <new position>;
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