Hello.
On the video you can see big monster that cast red or blue ball. I want these balls to apply force to player to push/move him away. It works but sometimes player is pushed through the floor which has collider.
Hello.
On the video you can see big monster that cast red or blue ball. I want these balls to apply force to player to push/move him away. It works but sometimes player is pushed through the floor which has collider.
Have you tried to change the Collision Detection type from Discrete to Continuous? If it doesn’t work either, I have a really dumb thought by giving your character a script which detects it’s movement in vertical axis. For Example, if the character moved downward in y-axis over 50 units in less than 0.3 seconds, it means that your character had been pushed through the ground, then reset its position back on the ground. Sorry, I’m not an expert in Unity but hope this would help.