- Home /
Question by
GhaidaOth · Jul 31, 2021 at 05:32 PM ·
collider2d-platformerrigidbody2d
Character fall when colliding or if it moves fast (2d platformer)
I am a beginner and I followed several tutorials to move my character, but when he jumps or moves fast he falls and flips in the air, I'm sure it is because of the rigid body component and tried to change the body type to kinematic but it stopped moving completely.
Also, I changed the shape of the collider several times but it keeps falling when his head or feet hits the platform collider.
Anyone knows how to fix?
screen-shot-2021-07-31-at-44404-am.png
(248.6 kB)
screen-shot-2021-07-31-at-44458-am.png
(62.0 kB)
Comment
Best Answer
Answer by Alexx019 · Aug 01, 2021 at 09:40 AM
go to your rigidbody2D component, go to the "constraints" at the bottom and Check "Freeze Rotation" Box