Component boxROI and the gravity #196
-
Hello all, I have a basic question regarding the component BoxROI when it is used to prevent the falling of the nodes on a scene, for example, on scenes of the tutorials. I am questioning because it is not behaving this way. If you test on the tutorial pneunet for example, and define a boxROI away from bodies on the scene. For example:
The bodies don't fall. I verified the same behavior on other more complex scenes and sometimes the position and presence of the boxROI influences the expansion of the cavity (sometimes crashing the software). Could you confirm this behavior and let me know your thoughts about it? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hi, I investigated the scenes in this folder. The behavior you observe when the box is away from the object is due to the When you have such a situation, I recommend to enable Alex |
Beta Was this translation helpful? Give feedback.
-
Hi @alxbilger I verified the |
Beta Was this translation helpful? Give feedback.
-
the BoxROI and the RestShapeSpringsForceField don't touch the cavity space. |
Beta Was this translation helpful? Give feedback.
Hi,
I investigated the scenes in this folder.
The behavior you observe when the box is away from the object is due to the
RestShapeSpringsForceField
. It uses the indices from theBoxROI
, but the list of indices is empty. When the list of indices inRestShapeSpringsForceField
is empty, the whole object is used. So, the springs acts on every point of the mesh. And it is much stronger than the mass. That's why the object does not move.Remove the
RestShapeSpringsForceField
or reduce its stiffness, and you will see the object falling.When you have such a situation, I recommend to enable
printLog
on some key components. It may help you understand what is going on.Alex