Realized my mistake
Why are my bullets instantiating as children of the player?
I have a a script that controllers input for my player and all it does it instantiate the bullet. On the bullet's awake it gets a velocity. The bullet is fired from a firing spot in front of the player not colliding with anything. For some reason, my bullets are being spawned as children of the firing spot, which is a child of the player and are now firing and moving in the direction of the player. My aim was not curving bullets, I just want to make it fire like a cannon.
Will you pls post the script or at least the code block where you are instantiating these bullets ... without script it is just a guessing game which no one here wants to play ^^
Well, I realized the issue, in the instantiate call, I set the transform to be that of the player's child
Follow this Question
Related Questions
Child with Rigidbody doesn't move with Parent with Rigidbody 3 Answers
How to use Animator.Rebind ??? 0 Answers
Instantiate an object as child 1 Answer