I am trying to make a simple physics game. I have a
RigidBody that has a
MeshInstance attached as a child. The
Mesh is a Cube. This is my character.
I have a
StaticBody with a
MeshInstance attached to it. The
Mesh is again a Box. This is my terrain.
My scene looks like this:
I have a controller that rotates the terrain (i.e. the
apply_torque. I have an issue that my character overlaps my terrain. See the screenshot below:
Even though I am applying the torque in the
_physics_process method I still get overlapping.
What can I do to solve this issue?
I already tried:
* Changing the collision shape of the RigidBody to a Sphere and Cylinder
* Make the collision shapes larger than the objects
* Increased the Physics FPS