Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I get the contact force? #561

Open
BBBBBbruce opened this issue May 13, 2022 · 0 comments
Open

How can I get the contact force? #561

BBBBBbruce opened this issue May 13, 2022 · 0 comments

Comments

@BBBBBbruce
Copy link

BBBBBbruce commented May 13, 2022

Hello, I am trying to obtain the collision force in a collision, but I am having some trouble getting the query.

Based on my search, physX is using PBD (I am not sure if XPBD is applied). I guess I can get the force directly from the impulse * delta_t = delta_p * mass.
May I ask if this impulse if the ContactPairPoint.impulse? if so which time is the delta_t? is it my time step for the gscene->simulate(time_step)?

Also, if XPBD is applied, maybe I can directly get the force from f = lambda* n / (ℎ^2)?

Thanks for the help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant