static body 2d weird movement

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Mahmoud_Official

i have a static body 2d, and a kinematic body 2d when i move the kinematic into the static the staticbody2d starts moving in a weird way isn’t it supposed to be static in its place??

Why are you moving the player into the static body?

exuin | 2021-02-27 13:49

Static bodies shouldn’t move at all. Post your code: it may be you’re doing something wrong when moving your kinematic body.

kidscancode | 2021-02-28 05:26

are you moving your kinematicbody2D with move_and_slide or do you just change the position?

whiteshampoo | 2021-02-28 15:10

:bust_in_silhouette: Reply From: BodaMat

Sorry, I can’t catch it. Could you send a video or photo of what happened?