|
I'm trying to make it so that when a collision happens, an object is instantiated at an exact point as the child of another object. How can I do this?
(comments are locked)
|
|
I guess you use JS (because most beginners use JS ;) but i prefer C#) One way would be something like:
You have to give more information whether you want a exact local or global position and if one of your "objects" is involved in the collision?
(comments are locked)
|
|
You instantiate first, then you parent. You can always set position, and after the parenting, set localPosition if you want, instead.
(comments are locked)
|

Please add next time more details because your question is very abstract: when "a collision" happens; child "of another" object. And since you didn't post any code you have so far, we only can guess what language you use / want use.