How to get rid of the player rotation when it goes towards an edge of a part?

I’m trying to disable or overwrite the physics of the player in which when you it goes to an edge of a part, it will rotate.

Example:
robloxapp-20200723-2004293.wmv (692.9 KB)

I tried to find properties (Humanoid) which would disable it and searched for topics about this but found nothing.

1 Like