ok now the code works nearly perfect.
But how can i prevent that the enemys bounce in z-direction? because sometimes they are flying out of my level. another little problem is the collision with the player because the programm even detects a collision when the two objects are close together but don't touch. how can i change this?


mfg Disaster