Problem With The Shooting

I am creating a Parkour Shooting game, and I have a problem.
The player always shoots to the same direction all the time, It’s doesn’t matter in what position I am.

I can be on a roof or on a road and the player will keep shoots to the same direction.

And I think I’m know what the problem is,the “spwanPoint” always in the same rotation, the rotation never change.

And I don’t know how to change it…

To create a shoot I was helped the tutorials of TornadoTwins (so you know what script i am using)

here a video:

hi there :wink:

i have had this problem to a week ago, it was solved when i attached the Spawnpoint gameobject to my gun model, thisway the spawnpoint rotates with the gun model, then attach the shoot-script to the spawnpoint.

i hope this helps :wink:
~speedytzr

Thank you very much!!! :smile: :smile: :smile: !!!

Thank you!!!

hehe,

glad i could help :wink:
good luck with your project!