retrieve the current force value in a joint in Unity

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

retrieve the current force value in a joint in Unity

Postby blackbird_dream » Wed Nov 14, 2018 11:46 am

is it possible ?
User avatar
blackbird_dream
 
Posts: 269
Joined: Wed Jun 07, 2006 3:08 pm
Location: France

Re: retrieve the current force value in a joint in Unity

Postby Julio Jerez » Wed Nov 14, 2018 12:22 pm

they are available in the sdk, but I do not think they where expose to unity.
I can add some, and you can continue from there.
Julio Jerez
Moderator
Moderator
 
Posts: 10954
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: retrieve the current force value in a joint in Unity

Postby blackbird_dream » Wed Nov 14, 2018 12:44 pm

Oh yes thks so much
User avatar
blackbird_dream
 
Posts: 269
Joined: Wed Jun 07, 2006 3:08 pm
Location: France

Re: retrieve the current force value in a joint in Unity

Postby Julio Jerez » Wed Nov 14, 2018 3:40 pm

I assume you want the force on the joint DOF, for example say you have an actuator.
the joint generate 6 dof, but of those 5 are workless, meaning the relative velocity between the bodies long the dof is always zero, those are uninteresting, the one that allows motion is the one that is usually important.

I am going to try to make a small mock up demo in the plugin so that we can now test these changes.
something line a box with four hard wheel and a lifter, that way we can get better direct communication.
this should be easy to get going and will not be subjected to unity versions nonsense.
Julio Jerez
Moderator
Moderator
 
Posts: 10954
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: retrieve the current force value in a joint in Unity

Postby blackbird_dream » Thu Nov 15, 2018 3:28 am

exactly the force in the actuated dof
User avatar
blackbird_dream
 
Posts: 269
Joined: Wed Jun 07, 2006 3:08 pm
Location: France


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 4 guests

cron