0 votes

I have made a gridmap with cubes, i have a kinematic character that uses moveandslide.
when i run across the map im colliding with every edge of every grid.

the gridmap cubes are of a static body with box collider, i've tried trimesh static body.
How do i solve this?
i would prefer not to remove all the collision shapes of every cube and place one large box collider in the main scene. :/

asked Apr 2 in Engine by Christoffer (154 points)

Have you tried adding small value to cellscale? Like setting cellscale to 1.0001, to eliminate tiny gap in between.

i just tried that, i did not notice any change :/

it might have worked, i overlapped them alittle more but then my bevel of the cube dissapeared, so that did not work visually for me. but i increased the collision shape by 0.02 units on every cube so the collision box is now overlapping. i think it worked :P
thank you

1 Answer

0 votes

Have you tried adding small value to cellscale? Like setting cellscale to 1.0001, to eliminate tiny gap in between.
commented 7 hours ago by imjp94

answered Apr 2 by Christoffer (154 points)
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.