- Home /
Question by
serdechny · Oct 03, 2020 at 07:09 PM ·
raycastshootingdirectionprojectile
bullets fly to the wrong direction in specific situations
so when I aim to the ground in a specific directions the bullets start to fire to a different directions here is in examples:
and here is the way it should be:
now, I have 2 scripts
one is for the weapon and the second one is for the bullet: the weapon script manages the creation of the bullet and the bullet script handles the hole the bullet creates and the destroy of the object here are both of the scripts:
weapon script:
bullet script:
Comment
Your answer
Follow this Question
Related Questions
Projectile Hit Detection with Bullet Drop 1 Answer
Air Strike shoot aiming at cross hairs in middle of the screen 2 Answers
Rotating to a direction is producing a weird result 1 Answer
My projectile shots wrong with Raycast 0 Answers
For some akward reason bullet is moving in the wrong direction 1 Answer