Reset Scene not resetting a moving object that kills me when I collide with it.
dwibre
Member Posts: 192
I have an enemy that moves left to right I am used magnitude to stop the enemys movement when my hero is within 60 of the enemy. if hero collides with the enemy hero dies and scene resets with (reset scene). But when I go back after reset the enemy is still stationary.
However if hero dies by something else then the enemy resets.
I think that as the reset happens my hero is still being registers within 60 of the enemy and so the enemys movement is stopped.
Any ideas how to reset an object after a death collision?
However if hero dies by something else then the enemy resets.
I think that as the reset happens my hero is still being registers within 60 of the enemy and so the enemys movement is stopped.
Any ideas how to reset an object after a death collision?
Comments