Does anyone know how to stop a character with a movement component set to “Flying” from sliding across solid surfaces?
When the plane is in the air, it’s fine, but when it collides with my invisible boundaries, it slides like ice.
I believe this behavior is intentional, but I need to deactivate it. I considered setting to “walk” upon collision/overlap, but then my plane would fall out of the air.
Here’s a video for you and anyone else to see what is happening:
When the plane is in the air, not touching an invisible barrier, no problem, but when it touches that barrier (while the directional up or down button is pressed) it maintains its momentum.
EDIT:
Aaannnddd as I just started explaining, in depth, what I was experiencing, it dawned on me:
Disable “UP” when touching the ceiling and “DOWN” when touching the floor.
I though it slid no matter what, but it only slides when the direction opposite of the force of a barrier is applied.
@Arodi007 , I basically did what you suggested, but only in one cardinal direction.
@SupportiveEntity , I have no idea why friction for flying objects only works in the air. I’m sure there’s a reason, but I do not know what it is. I thought about changing the movement mode to “walking” when touching a barrier, but my plane would fall out of the sky like…