I have added the script to the walls and everything is working fine except one:
My box is still able to move through the walls although I am getting the error message in my console that box is bumped into the wall but its still going through it
Hi Pushkar,
Try to make the player slower. Did this fix the issue?
No I tried to do this but still it is not working.
Then try to set the Collision Detection of the Rigidbody to “Continuous”.
And make sure “is trigger” is not enabled in the Collider components of the player or the walls.
I tried this now and it worked but I managed to solve this problem earlier by converting my capsule player into a cube but I still wanted to know why just changing the shape of my player from capsule to cube managed to solve my issue.Thank you for the solution.
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.