09-03-2022, 02:51 PM
(This post was last modified: 09-03-2022, 02:51 PM by josemendez.)
(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>;