+1 vote

Greetings All!

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 RigidBody) using 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

Test Project:

asked Apr 10 in Engine by Juxxec (62 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.