- Home /
How do I rotate a prefab and instantiate it to go forward of my player?
So I have this rocket model and it's facing up. So when I instantiate it, it shoots forward, but the rocket is facing up. If I make it so the rocket faces the front, the rocket shoots downwards because the rocket's "front" is its side.
I tried to rotate the mesh in Blender so the prefab itself is rotated by default but that created these cameras and lights that I didn't want to mess with (I'm a beginner). I did transform.up because the tip of the rocket is its "up" but that only shoots in one direction.
How do I make it so the rocket shoots forward of the player whilst rotated in the right direction?
Your answer
Follow this Question
Related Questions
Destroying assets is not permitted to avoid data loss. 0 Answers
My objects instantiate at a strange z coordinate 0 Answers
How to instantiate particle effect after destroying it 2 Answers
Instantiate is spawning too many clones 2 Answers
How to instantiate a projectile only from the weapon prefab of the firing player? 1 Answer