Hi.
I have a gun gameobject with spawn points for the projectiles as child objects. I have set the bullets to spawn and move in the Z direction (not as children) based on the position of the child gameobjects. However, when the player changes direction, “forwards” is on a different axis. How would I keep the Z axis pointing wherever I point the gun?
Thanks,
Alex