non-static and respondable object keeps moving after droping into a box

Typically: "How do I... ", "How can I... " questions
Post Reply
wozxfdha
Posts: 51
Joined: 10 Jun 2021, 09:40

non-static and respondable object keeps moving after droping into a box

Post by wozxfdha »

Hi,

I want to deal with the task of grasping in clutter, so I need to drop them into a box. I set each object's properties: non-static, respondable.

If I drop a ball into it, the ball just rolls from side to side and never stops sometimes.

However, I need a static grasp scene.

So what should I do to solve this problem?

Thanks.

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

Re: non-static and respondable object keeps moving after droping into a box

Post by coppelia »

Hello,

you have several possibilities: you can add some linear and/or angular damping to your ball. You'd do that in the materials dialog (or via a physics engine related API function).
The other possibility is to detect the ball inside of the basket (e.g. via a proximity sensor) and then disable it within the next second or so. i.e. you would make it static. For grasping, you'd eventually need to make it dynamic again, just before closing the gripper.

cheers

Post Reply