I need a little help please
Posted: Tue Dec 16, 2014 5:25 am
Hi I have an enemy actor moving left and right with a wire frame region at either end to change the actors animation and x direction. He creates a shot using a random timer. I have a variable so the shot travels in the direction the enemy is facing when the shot is created.
This much is working. The problem is when the enemy collides with either wire frame and changes to the opposite direction, any shots he has created also change direction.
Any help greatly appreciated.
This much is working. The problem is when the enemy collides with either wire frame and changes to the opposite direction, any shots he has created also change direction.
Any help greatly appreciated.