So i am quite new to ue5 so i followed a tutorial to create a simple horror game. After changing the mesh of the enemy, I cant win as the code isn’t working to kill him for some reason. The code to kill the enemy works but the enemy doesn’t die. i changed the mesh back and it works. Why is this?
Hello @RoboRo21 ,
could you show the code or give us a video about this behavior (before and after change)?
Also did the mesh you change have a different skeleton on it?
Hey there @RoboRo21! Welcome to the community! So we’d have to get a look at the code to know for sure, but it sounds like your logic is dependent on the mesh instead of the character and that’s not ideal. Often anything based on game state should be in Game Mode or the Game Instance.