So I am making a 3rd person open-world game. I have made the movement with arrows and spacebar possible, but I can not find a solution to prevent my character from walking through items.
Is there any solution to prevent my character from walking through the environment?
I have tried the following methods:
- I know the camera can do so, and will not be able to walk through objects. So I attached my character to the camera (both in the Item tree and also directly), but because the character is in front of the camera the character will walk through the environment until the camera collides with an item, and then its stops. So that isn’t a solution, because then my character already has walked through the object.
- I also tried physics. But no matter how heavy I make the objects, when my character collides with an object the other object will fly away…
is there any other solution possible?
Looking forward to a response!