I'm wondering if it's possible to get a Bullet to move backwards.
I'm making a very basic AI system. I'm using Bullet to home in on the player. However, once the Bullet object reaches the sprite SensorShoot which is invisible(or will be when done) the sprite has it's Bullet speed set to -80.
ShooterEnemy is Overlapping SensorShoot
-> ShooterEnemy.setBulletSpeed to -80
Else(refer to overlap)
-> ShooterEnemy setBulletSpeed to 80
Now. What I'm wondering is that is this even possible. Will setting a -value for bullet speed have the bullet move backwards.
Develop games in your browser. Powerful, performant & highly capable.
Yes, giving your bullet a negative speed will move it in the opposite direction.
If you have a simple question like this you could just make a simple test rather than having to wait on someone to provide an answer!
Hope that helps! <img src="smileys/smiley1.gif" border="0" align="middle" />
TY, did try but I didn't get it to work orginally. THough I kept looking. I found that I need to turn off the automated behaviour for the bullet to face the direction of movement and set the angular motion maunally.
however. thanks. you were right :)