biyaniM / ALICE-IN-WONDERLAND-professional-nappers

Single Player, 3D Platformer movement-based game with Color and Level Mechanics with WebGL Builds
6 stars 1 forks source link

Level 2.75 if killing the enemy from right next to it, the player also dies #237

Closed biyaniM closed 1 year ago

biyaniM commented 1 year ago

If the player armature is within the enemy's collider and if the player shoots the enemy, the player dies as well. Seems like a collider overlap issue to me. Probably due to parenting issues or the enemy to and fro script.

Low Priority but a necessary fix

gautam17pranjal commented 1 year ago

I believe this is related to the player object getting attached to the to and fro script. This happened in the Floating island level too. Just remove the player object from the script and it will work.

biyaniM commented 1 year ago

similar to #186

ASTHAMISHRA4 commented 1 year ago

Does this issue exist in level 8? We no more have moving enemies so that should not be a problem. Can you share more details and steps to reproduce the issue? I am not able to re-produce this.

biyaniM commented 1 year ago

Here @ASTHAMISHRA4 - https://user-images.githubusercontent.com/39940797/203245025-735afe5c-e6ff-4977-b11e-4cfb3fe57b06.mp4

biyaniM commented 1 year ago

If the player armature is within the enemy's collider and if the player shoots the enemy, the player dies as well. Seems like a collider overlap issue to me. Probably due to parenting issues or the enemy to and fro script.

To quote this in a better or worse way, when the player shoots the enemy cannon while the player is next to the enemy cannon, the cannon and the player dies

gautam17pranjal commented 1 year ago

done