I’ve created a code to rotate a gun I’m using for my game. Here’s the code:
Do:Pistol/Angle/rotate counter clockwise overtime
When: system/listener/key pressed/“D”
Do:pistol/Angle/rotate clockwise overtime
The problem is that when I rotate the pistol and shoot, the bullet behaviour doesn’t move to the location the pistol is pointing to. It moves forward as if the pistol didn’t even rotate. How yo fix this problem ?