tyFlow Forum
Snap to closest point on parents shape surface after physics collision - Printable Version

+- tyFlow Forum (http://forum.tyflow.com)
+-- Forum: tyFlow Discussion (http://forum.tyflow.com/forum-1.html)
+--- Forum: Feature Requests (http://forum.tyflow.com/forum-4.html)
+--- Thread: Snap to closest point on parents shape surface after physics collision (/thread-1453.html)



Snap to closest point on parents shape surface after physics collision - TubeSmokeGuy - 02-14-2020

Hi,

I think it would be cool if you can snap particles to the closest point on its parent shape surface after a spawn at physics contact point. Cause the collision shapes often don't match the visible shape and so the spawned particles are visually positioned at some point in the "air". This is especially important if you link the spawned particles to its parent and so you can see the mismatching visible relationship over time.

Hope you know what I mean!

Thank you!


RE: Snap to closest point on parents shape surface after physics collision - tyFlow - 02-14-2020

Yea, that makes sense.


RE: Snap to closest point on parents shape surface after physics collision - tyFlow - 02-15-2020

Oh, I actually forgot that this is already possible.

Use a Set Target operator on your spawned particles and set their target to parent. Then use a Move to Target operator to move them onto their target shape (closest point).


RE: Snap to closest point on parents shape surface after physics collision - TubeSmokeGuy - 02-17-2020

(02-15-2020, 03:31 AM)tyFlow Wrote: Oh, I actually forgot that this is already possible.

Use a Set Target operator on your spawned particles and set their target to parent. Then use a Move to Target operator to move them onto their target shape (closest point).

Oh yes, this works fine! Thank you!