How I detect collision between two actors (not player)
I have been trying to create a top down 2d space shooter and so far it has been going really well. I have stars and asteroids traveling down the screen, the players is able to move and shoot but I'm having issues when it comes to collision detection.
To simplify things, imagine I have 3 assets; a player spaceship, an enemy spaceship and a projectile.
(right click and click view image if it is too small on your screen)
My player is currently able to collide with both the enemy ship and the projectile but I cannot for the life of me make the enemy spaceship and the projectile detect each other.
My reasons behind using a 3d collision box is a little complicated but it is needed for future game plans. I absolutely 100% sure that the collision boxes are definitely passing straight through each other.
The enemy spaceship is currently stationary and the projectile isn't traveling at ridiculous speeds (it's actually a pretty slow rocket).
I have used "BlockAll" for testing purposes, this will change later (I have tried many other collision presets but none seem to make a difference - as they currently effect the player I believe that they should effect each other too).
I am also pretty new to this engine so please try to explain any suggestions thoroughly.
I would greatly appreciate any help... I have been troubleshooting and researching solutions for the last 5 hours but I am completely at a loss here.
asked Sep 20 '14 at 05:41 AM in Everything Else
Follow this question
Once you sign in you will be able to subscribe for any updates here