Ragdoll Issues

I was having issues with this part of the course, when I first completed this stage, after starting the game, neither my player nor enemies could attack each other, I thought it was something to do with the physics matrice in project settings but I couldn’t figure it out and spent maybe two days trying to work it out.

Anyways, it turned out that for whatever reason, upon starting the game, Unity editor would delete both the rigidbody and the collider from my weapon logic component, to fix this issue, I simply had to add both a collider and rigidbody to both of my player and enemy weapon’s logic game-objects and now even after starting the game, they persist.

Again no idea what causes this issue but thought I would share it here in case anyone else runs into it

2 Likes

Privacy & Terms