Hello I would like to use
Quaternion.Euler to as a position but then use vector 3 to put the position of a certain gameobject.
basically im gonna launch torpedos and then use Quaternion.Euler to spawn new ones (i think), but i wanna copy the position of my sub using vector 3.
pls help and if this is not possbile pls tell me how i can do this otherwise
I would like to know if this is possible and if so how thx.
Do you mean you want to spawn torpedos and have them inherit the same rotation as the submarine?
If so, this is all that’s required (assuming transform here is the submarine’s transform):
Hello, well the whole reason i was doing this was to not use Quaternion.identity to ot reset the rotation, but would your code work without the transform.rotation?