Replies: 2 comments
-
|
Hello @zhanglepy, Unfortunately, Newton currently does not support contact force/impulse queries between rigid bodies and soft bodies. Geometric contact data is available through the collision pipeline, but force- or impulse-related information is not exposed there. These quantities are computed inside the solver, and while some solvers compute the relevant rigid-soft contact forces or impulses internally, there is currently no public API to query them. For now, the best workaround would likely be to compute them in a post-step query using the same internal contact force/impulse formulation or kernel used by the solver. If you have a specific solver in mind, we may be able to advise better. Thank you. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks @jumyungc for answering. Allow me to add some complement to JC's answer: If you look into You can call it yourself out of the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Newton team,
Thank you for developing and open-sourcing Newton. I am currently evaluating Newton for robotics simulation tasks involving contact-rich interaction, especially rigid-body end-effectors interacting with deformable or soft objects.
For rigid-rigid contacts, I understand that physics engines usually provide contact information such as contact points, normals, penetration depth, impulses, or contact forces through contact-related data structures or APIs.
I would like to ask about rigid-deformable contact in Newton:
Does Newton currently support retrieving contact forces or contact impulses between a rigid body and a deformable/soft body?
If this is supported, is there an existing API, data structure, or example that exposes:
If direct contact force output is not currently supported for rigid-deformable interaction, what is the recommended way to estimate or compute it?
For example, should users infer it from constraint impulses, nodal forces, deformation energy, penalty contact terms, or rigid-body dynamics?
Are there any planned features or examples for rigid-deformable contact force reporting, similar to rigid-rigid contact reporting?
My application is similar to a robot probe or end-effector pressing against a soft object, where I need to record the force-displacement curve and the total contact force during interaction.
Thank you very much for your help.
Beta Was this translation helpful? Give feedback.
All reactions