You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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