Slimwaffle Posted October 19, 2018 Share Posted October 19, 2018 Hey guys I was hoping to get some advice with some physics issues I am having with Enemies in my game. Its been an ongoing thing for a while. So I am getting issues when fighting enemies in a melee fight. Something is happening where I think the player gets caught inside the physics shape of the enemy and this causes the game to crash. Is there anything I can do to prevent this or to push the player back outside the physics shape of the enemy?(To prevent this random crashing). Or even something I can add to the system to say when there is an error wait x amount of seconds before returning to normal functioning instead of crashing. Quote Link to comment Share on other sites More sharing options...
Slimwaffle Posted October 22, 2018 Author Share Posted October 22, 2018 Is it possible to tweak the nav obstacle feature maybe to extend the range at which it prevents you from stepping into the enemy? Quote Link to comment Share on other sites More sharing options...
Slimwaffle Posted November 2, 2018 Author Share Posted November 2, 2018 bump Quote Link to comment Share on other sites More sharing options...
Thirsty Panther Posted November 3, 2018 Share Posted November 3, 2018 I haven't done it myself but you could adding an invisible cylinder with physics to the enemy. Make it slightly bigger than the character to prevent the player getting "caught" inside the enemies physics shape. This might interfere with your melee attacks thou. Quote Link to comment Share on other sites More sharing options...
Slimwaffle Posted November 3, 2018 Author Share Posted November 3, 2018 Thanks I will give it a try and let you know how I go 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.