#leaning collision issues with collision layers

8 messages · Page 1 of 1 (latest)

hollow cedar
#

player node setup
pastebin code

unkempt bane
#

the way I would implement a system like this is I would add a raycast to each side of the player, and if the raycast touches a wall, the player could not lean on that side. I'm not sure how you could fix your issue with your current setup

hollow cedar
#

Idk how to explain it but I didn't get the right distance

unkempt bane
#

You can set the distance that the raycast sees in the editor, but if you try it and still have an issue I’ll be happy to help

hollow cedar
#

Is it fine if I friend you though?