Replies: 1 comment
-
|
I have encountered the same problem. How did you solve it later |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have been working with NVIDIA PhysX for soft body simulations and came across the eCOMPUTE_STRESS_TENSOR flag in the PxSoftBodyFlag structure. According to the documentation (see attached image), this flag enables the computation of a Cauchy stress tensor for every tetrahedron in the simulation mesh, and these tensors can be accessed through the soft body direct API.
I have successfully set the eCOMPUTE_STRESS_TENSOR flag to true, but I am having trouble figuring out how to access the stress tensors. The documentation does not provide clear instructions on the exact API calls or methods needed to retrieve these tensors.
Could anyone provide guidance or examples on how to access the stress tensors after enabling the eCOMPUTE_STRESS_TENSOR flag?
Thank you for your assistance!
Beta Was this translation helpful? Give feedback.
All reactions