Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | dzeroone | |
Old Version | Published before Godot 3 was released. |
I have
- Player(RIgidBody with rectangle collision shape)
- Ground Spawner( this is for spawning
ground
one after another )
Here ground
is a StaticBody2D with a rectangle collision shape
When I apply set_linear_force
toward X-axis
to the Player
, Player
moves forward.
It’s alright. But, sometime Player
gets hit by the ground
and Player
flies away.
I have tried different collision shapes like CapsuleShape2D
, CollisionPlolygone2D
none is solving the problem!
What should I do?