Topic was automatically imported from the old Question2Answer platform.
Asked By
johnygames
In an effort to create a collsion mesh for a rigid body, I created a Convex collision shape (from the mesh menu that appears when a MeshInstance is clicked). As expected, a shape encompassing the object appeared. However, when the object spawns in game, the game slows down to the point where it breaks. The exact same, if not worse, happens if I try to generate a trimesh collision shape. But when I use simple primitives as collision shapes, everything goes without a hitch. Is there something I am missing with convex shapes?
MoveVector is in my case the direction I want to travel + calculated movement down due to gravity. My map have only light slopes, so maybe this 0.3 instead of 0.78 makes a difference.
Skipperro | 2019-07-31 16:41
Nope, the problem persists. It mustn’t have anything to do with the slope. The moment the objects spawn in the world the game slows down.