CoppeliaSim - Object Properties Question

Typically: "How do I... ", "How can I... " questions
Post Reply
RicardoV
Posts: 1
Joined: 03 Mar 2021, 15:36

CoppeliaSim - Object Properties Question

Post by RicardoV »

Greetings,

I am working on a project in coppeliasim and it involves using some sort of bin, in this case, a cup which is the most similar model available, and cutlery objects. The problem I am facing is that the objects tend to "cross" the sides of cup and they shouldn't.

I have tried increasing the thickness of the cup in the Scene Object Properties, but it didn't solve my problem. Any thoughts of what I can do?

Regards,
Ricardo

coppelia
Site Admin
Posts: 10339
Joined: 14 Dec 2012, 00:25

Re: CoppeliaSim - Object Properties Question

Post by coppelia »

Hello Ricardo,

the problem is very probably that you are using random meshes. Physics engines can't properly deal with random meshes and collision response. So the solution is to model your mesh as a simpler mesh, e.g. a convex mesh, or even better a primitive shape (such as a cuboid, sphere, etc.). Or a combination of those, within a composite shape.
Have a look at the model Models/household/cup.ttm for example. Sometimes you will also have to increase the thickness of the cuboids that form the wall of the cup/object.
Also read more about how to optimize simulation with dynamic objects.

Cheers

Post Reply