godot_recipes icon indicating copy to clipboard operation
godot_recipes copied to clipboard

[Discussion] KinematicBody2D: Align with surface

Open cbscribe opened this issue 4 years ago • 4 comments

Discussion for http://godotrecipes.com/2d/2d_align_surface/

cbscribe avatar Feb 03 '21 02:02 cbscribe

my player flipflops between rotations when in between 2 slope angles. how to prevent this?

stalgul avatar Mar 25 '21 00:03 stalgul

image Please help , on keypress i want the player to move certain distance to the opposite side, like if the player outside the platform then he will come inside it and vice-versa.

ferozfirru avatar May 16 '21 14:05 ferozfirru

my player flipflops between rotations when in between 2 slope angles. how to prevent this?

I assume you used a rectangle shape for collision, you can use circle or capsule instead to prevent that.

SPOICAT avatar Jul 31 '21 04:07 SPOICAT

Where to declare snap? And how ?

GiorgiKusradze avatar Dec 29 '21 13:12 GiorgiKusradze