No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.
General Tech 10 Answers
General Tech 7 Answers
General Tech 3 Answers
General Tech 9 Answers
manpreet
Best Answer
2 years ago
The issue with my code is that the bullets will basically spill out of the player object but i cannot get them to shoot directly forward to hit the obstacles. Instead, as the player rolls each direction, the bullets come out the same set vector which is not what i want. I'd like the bullets to shoot along the x-axis only while instead, they shoot out of all sides depending on how the player rolls.
I've tried changing the bullet rotation and force, in the case that the bullet force altered the player direction and momentum. That failed so i removed the players forward force to test, and still no progress.