Question by
david_kuehn · Aug 03, 2016 at 10:10 PM ·
rotationquaternionshootingbulletfiring
Get Opposite of a Rotation Stored In a Quaternion
In my game, bullets are fired from a FirePoint GameObject that is the child of the weapon. When I switch the rotation of the weapon, the bullets being fired do not rotate with the weapon. Here is an image of it working correctly when firing to the right.
And here is an image of it working incorrectly when firing to the left.
Any help/suggestions would be greatly appreciated.
Thanks, David
working.jpg
(10.6 kB)
notworking.jpg
(10.1 kB)
Comment
Your answer
Follow this Question
Related Questions
Can I make my bullet smoothly turn toward the target? 0 Answers
Shiftt gun cursor with 1 degree in 2d Game 0 Answers
Cancel out the steering rotation returned from a wheel colliders .GetWorldPose(out pos, out rot); 1 Answer
How to make a 2D sprite rotate towards a specific point while facing perpendicular to the camera ? 1 Answer