How to make a bullet pause and resume?
Hi guys, today I have a strange concept I need help with. How would I make a bullet part pause in mid air if a variable equals false then move at the same velocity in the same direction when the var equals true again? Something like this:
1 | If bulletMove = false then |
2 | saveBullet() // Save the bullets location and velocity |
3 | if bulletMove = true then |
4 | loadBullet() // Make the bullet move again |
Thanks so much for your help in advance. If you don't want to help me please don't waste your time commenting and telling me. So thanks to people with helpful comments!