Why simJointGetForce?

Report crashes, strange behaviour, or apparent bugs
Post Reply
JohnnyMudcrab
Posts: 33
Joined: 07 Mar 2014, 12:26

Why simJointGetForce?

Post by JohnnyMudcrab »

Hey

not really a bug, but somehow inconvenient. All API get and set functions start with simSet... or simGet... except for simJointGetForce. I can't tell for others, but at least i am always confused about that. Why isn't it called simGetJointForce?

best regards

coppelia
Site Admin
Posts: 10339
Joined: 14 Dec 2012, 00:25

Re: Why simJointGetForce?

Post by coppelia »

Hello,

yes, that had historical reasons. We added another function for next release (V3.1.2): simGetJointForce, and simxGetJointForce for the remote API equivalent.

Cheers

Post Reply