Hi folks,
please, can anyone help me with the following problem?:*(
I’m working on a space shooter and my spaceship is moved the mouse only (even thrust). There are enemies in space and what I’d like to do is that when my spaceship bumps at an enemy it gets bounced off by it.
I know you can do this if your ship is controlled by keyboard but in my case it’s controlled by the mouse only.
Is there a possibility to temporarily disable the mouse so the ship doesn’t react to any mouse inputs any more in order to bounce off my ship from the enemy?
I know there is this method called mouseEnabled = false and mouseChildren property but that didn’t do the trick.
Any ideas? Thanks in advance for your help.