itsTripp / Platformer_Shooter

0 stars 3 forks source link

Add Layer Collision Ignore To Weapons #42

Closed itsTripp closed 2 years ago

itsTripp commented 2 years ago

Need to ignore the collision layers of the enemies and the player so that the weapon will not cause them to bunch up in areas. This will allow them to pass over without moving the weapons. The player will still be able to interact with the weapon.

Main issue with this is we need to make sure the weapon can be thrown and collide with the enemy then go back to its ignore state.

itsTripp commented 2 years ago

I'm going to look into this issue today (02/22/22) and see if I can remedy the issue completely.

itsTripp commented 2 years ago

Set the weapons layer to ignore collisions from the player layer, the enemy layer, and other weapons.

Did not test damage collision when thrown. Almost positive the ignore collision will have to change while the weapon is in the air and change back when it is grounded.

itsTripp commented 2 years ago

Matt has completed this task.