Projectile spawning at point local coordinates not world coordinate

I seem to be having a problem where my projectiles spawn at the world coordinate position to what the point shows in the inspector postion in relation to its parent rather than at the point. if the point is at (0,0,1) from parent, my projectile is spawning at world (0,0,1) instead of at the point when spawning with the point transform position in the instantiate.

Please help

Instantiate takes a world space position, not a local position (there is no “local object” that Instantiate is aware of in any case, since it is static).

8385339--1106001--upload_2022-8-23_20-44-10.png
8385339--1106007--upload_2022-8-23_20-45-0.png
8385339--1106010--upload_2022-8-23_20-46-9.png

Cool images bro.

Maybe show us your code instead. Looks like you’re giving it a local position, where Instantiate expects a world position.

1 Like