Hi,
I want to get Gravity vector of one link of a manipulator in C++. I find function _simGetGravity on the additional API functions list. When I try to use it, I find it isn't in extApi.c or extApiPlatform.c. How can I use it? Thanks.
How to use _simGetGravity in C++
Re: How to use _simGetGravity in C++
Hello,
if you need the gravity vector that acts on the scene, use:
Cheers
if you need the gravity vector that acts on the scene, use:
sim.getArrayParameter
(sim.arrayparam_gravity)Cheers