|
@@ -319,7 +319,7 @@ ConsoleMethod(Scene, isJoint, bool, 3, 3, "(int jointId) Gets whether the join
|
|
|
"@return whether the joint Id is valid or not." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi( argv[2] );
|
|
|
+ const S32 jointId = dAtoi( argv[2] );
|
|
|
|
|
|
return object->findJoint( jointId ) != NULL;
|
|
|
}
|
|
@@ -332,7 +332,7 @@ ConsoleMethod(Scene, getJointType, const char*, 3, 3, "(int jointId) Gets the
|
|
|
"@return The type of joint of the specified joint Id." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi( argv[2] );
|
|
|
+ const S32 jointId = dAtoi( argv[2] );
|
|
|
|
|
|
// Fetch joint type.
|
|
|
const b2JointType jointType = object->getJointType( jointId );
|
|
@@ -351,7 +351,7 @@ ConsoleMethod(Scene, deleteJoint, bool, 3, 3, "(int jointId) Deletes t
|
|
|
"@return Whether the joint was successfully deleted or not." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi( argv[2] );
|
|
|
+ const S32 jointId = dAtoi( argv[2] );
|
|
|
|
|
|
return object->deleteJoint( jointId );
|
|
|
}
|
|
@@ -490,7 +490,7 @@ ConsoleMethod(Scene, setDistanceJointLength, void, 4, 4, "(jointId, length) S
|
|
|
"@return Returns no value." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi(argv[2]);
|
|
|
+ const S32 jointId = dAtoi(argv[2]);
|
|
|
|
|
|
// Fetch args.
|
|
|
const F32 length = dAtof(argv[3]);
|
|
@@ -506,7 +506,7 @@ ConsoleMethod(Scene, getDistanceJointLength, F32, 3, 3, "(jointId) Gets the
|
|
|
"@return Returns the distance the joint should maintain between scene objects (-1 indicates error)." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi(argv[2]);
|
|
|
+ const S32 jointId = dAtoi(argv[2]);
|
|
|
|
|
|
// Access joint.
|
|
|
return object->getDistanceJointLength( jointId );
|
|
@@ -520,7 +520,7 @@ ConsoleMethod(Scene, setDistanceJointFrequency, void, 4, 4, "(jointId, frequency
|
|
|
"@return Returns no value." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi(argv[2]);
|
|
|
+ const S32 jointId = dAtoi(argv[2]);
|
|
|
|
|
|
// Fetch args.
|
|
|
const F32 frequency = dAtof(argv[3]);
|
|
@@ -536,7 +536,7 @@ ConsoleMethod(Scene, getDistanceJointFrequency, F32, 3, 3, "(jointId) Gets the
|
|
|
"@return Returns the mass-spring-damper frequency in Hertz (-1 indicates error)." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi(argv[2]);
|
|
|
+ const S32 jointId = dAtoi(argv[2]);
|
|
|
|
|
|
// Access joint.
|
|
|
return object->getDistanceJointFrequency( jointId );
|
|
@@ -550,7 +550,7 @@ ConsoleMethod(Scene, setDistanceJointDampingRatio, void, 4, 4, "(jointId, dampi
|
|
|
"@return Returns no value." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi(argv[2]);
|
|
|
+ const S32 jointId = dAtoi(argv[2]);
|
|
|
|
|
|
// Fetch args.
|
|
|
const F32 dampingRatio = dAtof(argv[3]);
|
|
@@ -566,7 +566,7 @@ ConsoleMethod(Scene, getDistanceJointDampingRatio, F32, 3, 3, "(jointId) Gets
|
|
|
"@return Returns the damping ratio (-1 indicates error)." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi(argv[2]);
|
|
|
+ const S32 jointId = dAtoi(argv[2]);
|
|
|
|
|
|
// Access joint.
|
|
|
return object->getDistanceJointDampingRatio( jointId );
|
|
@@ -688,7 +688,7 @@ ConsoleMethod(Scene, setRopeJointMaxLength, void, 4, 4, "(jointId, maxLength
|
|
|
"@return Returns no value." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi(argv[2]);
|
|
|
+ const S32 jointId = dAtoi(argv[2]);
|
|
|
|
|
|
// Fetch args.
|
|
|
const F32 maxLength = dAtof(argv[3]);
|
|
@@ -704,7 +704,7 @@ ConsoleMethod(Scene, getRopeJointMaxLength, F32, 3, 3, "(jointId) Gets the m
|
|
|
"@return Returns the maximum rigid length of the rope (-1 indicates error)." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi(argv[2]);
|
|
|
+ const S32 jointId = dAtoi(argv[2]);
|
|
|
|
|
|
// Access joint.
|
|
|
return object->getRopeJointMaxLength( jointId );
|
|
@@ -819,7 +819,7 @@ ConsoleMethod(Scene, setRevoluteJointLimit, void, 4, 6, "(jointId, enableLim
|
|
|
"@return Returns no value." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi(argv[2]);
|
|
|
+ const S32 jointId = dAtoi(argv[2]);
|
|
|
|
|
|
// Fetch args.
|
|
|
const bool enableLimit = dAtob(argv[3]);
|
|
@@ -837,7 +837,7 @@ ConsoleMethod(Scene, getRevoluteJointLimit, const char*, 3, 3, "(jointId) Gets
|
|
|
"@return Returns whether the joint has angular limits or not and the limits themselves (empty string indicates error)." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi(argv[2]);
|
|
|
+ const S32 jointId = dAtoi(argv[2]);
|
|
|
|
|
|
// Args.
|
|
|
bool enableLimit;
|
|
@@ -866,7 +866,7 @@ ConsoleMethod(Scene, setRevoluteJointMotor, void, 4, 6, "(jointId, enableMot
|
|
|
"@return Returns no value." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi(argv[2]);
|
|
|
+ const S32 jointId = dAtoi(argv[2]);
|
|
|
|
|
|
// Fetch args.
|
|
|
const bool enableMotor = dAtob(argv[3]);
|
|
@@ -884,7 +884,7 @@ ConsoleMethod(Scene, getRevoluteJointMotor, const char*, 3, 3, "(jointId) Gets
|
|
|
"@return Returns whether the joint has a motor or not and the motor settings (empty string indicates error)." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi(argv[2]);
|
|
|
+ const S32 jointId = dAtoi(argv[2]);
|
|
|
|
|
|
// Args.
|
|
|
bool enableMotor;
|
|
@@ -1028,7 +1028,7 @@ ConsoleMethod(Scene, setWeldJointFrequency, void, 4, 4, "(jointId, frequency
|
|
|
"@return Returns no value." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi(argv[2]);
|
|
|
+ const S32 jointId = dAtoi(argv[2]);
|
|
|
|
|
|
// Fetch args.
|
|
|
const F32 frequency = dAtof(argv[3]);
|
|
@@ -1044,7 +1044,7 @@ ConsoleMethod(Scene, getWeldJointFrequency, F32, 3, 3, "(jointId) Gets the m
|
|
|
"@return Returns the mass-spring-damper frequency in Hertz (-1 indicates error)." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi(argv[2]);
|
|
|
+ const S32 jointId = dAtoi(argv[2]);
|
|
|
|
|
|
// Access joint.
|
|
|
return object->getWeldJointFrequency( jointId );
|
|
@@ -1058,7 +1058,7 @@ ConsoleMethod(Scene, setWeldJointDampingRatio, void, 4, 4, "(jointId, dampi
|
|
|
"@return Returns no value." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi(argv[2]);
|
|
|
+ const S32 jointId = dAtoi(argv[2]);
|
|
|
|
|
|
// Fetch args.
|
|
|
const F32 dampingRatio = dAtof(argv[3]);
|
|
@@ -1074,7 +1074,7 @@ ConsoleMethod(Scene, getWeldJointDampingRatio, F32, 3, 3, "(jointId) Gets
|
|
|
"@return Returns the damping ratio (-1 indicates error)." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi(argv[2]);
|
|
|
+ const S32 jointId = dAtoi(argv[2]);
|
|
|
|
|
|
// Access joint.
|
|
|
return object->getWeldJointDampingRatio( jointId );
|
|
@@ -1201,7 +1201,7 @@ ConsoleMethod(Scene, setWheelJointMotor, void, 4, 6, "(jointId, enableMot
|
|
|
"@return Returns no value." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi(argv[2]);
|
|
|
+ const S32 jointId = dAtoi(argv[2]);
|
|
|
|
|
|
// Fetch args.
|
|
|
const bool enableMotor = dAtob(argv[3]);
|
|
@@ -1219,7 +1219,7 @@ ConsoleMethod(Scene, getWheelJointMotor, const char*, 3, 3, "(jointId) Gets whet
|
|
|
"@return Returns whether the joint has a motor or not and the motor settings (empty string indicates error)." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi(argv[2]);
|
|
|
+ const S32 jointId = dAtoi(argv[2]);
|
|
|
|
|
|
// Args.
|
|
|
bool enableMotor;
|
|
@@ -1246,7 +1246,7 @@ ConsoleMethod(Scene, setWheelJointFrequency, void, 4, 4, "(jointId, frequency
|
|
|
"@return Returns no value." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi(argv[2]);
|
|
|
+ const S32 jointId = dAtoi(argv[2]);
|
|
|
|
|
|
// Fetch args.
|
|
|
const F32 frequency = dAtof(argv[3]);
|
|
@@ -1262,7 +1262,7 @@ ConsoleMethod(Scene, getWheelJointFrequency, F32, 3, 3, "(jointId) Gets the
|
|
|
"@return Returns the mass-spring-damper frequency in Hertz (-1 indicates error)." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi(argv[2]);
|
|
|
+ const S32 jointId = dAtoi(argv[2]);
|
|
|
|
|
|
// Access joint.
|
|
|
return object->getWheelJointFrequency( jointId );
|
|
@@ -1276,7 +1276,7 @@ ConsoleMethod(Scene, setWheelJointDampingRatio, void, 4, 4, "(jointId, dampi
|
|
|
"@return Returns no value." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi(argv[2]);
|
|
|
+ const S32 jointId = dAtoi(argv[2]);
|
|
|
|
|
|
// Fetch args.
|
|
|
const F32 dampingRatio = dAtof(argv[3]);
|
|
@@ -1292,7 +1292,7 @@ ConsoleMethod(Scene, getWheelJointDampingRatio, F32, 3, 3, "(jointId) Gets
|
|
|
"@return Returns the damping ratio (-1 indicates error)." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi(argv[2]);
|
|
|
+ const S32 jointId = dAtoi(argv[2]);
|
|
|
|
|
|
// Access joint.
|
|
|
return object->getWheelJointDampingRatio( jointId );
|
|
@@ -1418,7 +1418,7 @@ ConsoleMethod(Scene, setFrictionJointMaxForce, void, 4, 4, "(jointId, maxForce)
|
|
|
"@return Returns no value." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi(argv[2]);
|
|
|
+ const S32 jointId = dAtoi(argv[2]);
|
|
|
|
|
|
// Fetch args.
|
|
|
const F32 maxForce = dAtof(argv[3]);
|
|
@@ -1434,7 +1434,7 @@ ConsoleMethod(Scene, getFrictionJointMaxForce, F32, 3, 3, "(jointId) Sets the
|
|
|
"@return Returns the maximum friction force (-1 indicates error)." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi(argv[2]);
|
|
|
+ const S32 jointId = dAtoi(argv[2]);
|
|
|
|
|
|
// Access joint.
|
|
|
return object->getFrictionJointMaxForce( jointId );
|
|
@@ -1448,7 +1448,7 @@ ConsoleMethod(Scene, setFrictionJointMaxTorque, void, 4, 4, "(jointId, maxTorque
|
|
|
"@return Returns no value." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi(argv[2]);
|
|
|
+ const S32 jointId = dAtoi(argv[2]);
|
|
|
|
|
|
// Fetch args.
|
|
|
const F32 maxTorque = dAtof(argv[3]);
|
|
@@ -1464,7 +1464,7 @@ ConsoleMethod(Scene, getFrictionJointMaxTorque, F32, 3, 3, "(jointId) Gets the
|
|
|
"@return Returns the maximum torque force (-1 indicates error)." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi(argv[2]);
|
|
|
+ const S32 jointId = dAtoi(argv[2]);
|
|
|
|
|
|
// Access joint.
|
|
|
return object->getFrictionJointMaxTorque( jointId );
|
|
@@ -1591,7 +1591,7 @@ ConsoleMethod(Scene, setPrismaticJointLimit, void, 4, 6, "(jointId, enableLim
|
|
|
"@return Returns no value." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi(argv[2]);
|
|
|
+ const S32 jointId = dAtoi(argv[2]);
|
|
|
|
|
|
// Fetch args.
|
|
|
const bool enableLimit = dAtob(argv[3]);
|
|
@@ -1608,7 +1608,7 @@ ConsoleMethod(Scene, getPrismaticJointLimit, const char*, 3, 3, "(jointId) Gets
|
|
|
"@return Returns whether the joint has translational limits or not and the limits themselves (empty string indicates error)." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi(argv[2]);
|
|
|
+ const S32 jointId = dAtoi(argv[2]);
|
|
|
|
|
|
// Args.
|
|
|
bool enableLimit;
|
|
@@ -1637,7 +1637,7 @@ ConsoleMethod(Scene, setPrismaticJointMotor, void, 4, 6, "(jointId, enableMot
|
|
|
"@return Returns no value." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi(argv[2]);
|
|
|
+ const S32 jointId = dAtoi(argv[2]);
|
|
|
|
|
|
// Fetch args.
|
|
|
const bool enableMotor = dAtob(argv[3]);
|
|
@@ -1654,7 +1654,7 @@ ConsoleMethod(Scene, getPrismaticJointMotor, const char*, 3, 3, "(jointId) Ge
|
|
|
"@return Returns whether the joint has a motor or not and the motor settings (empty string indicates error)." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi(argv[2]);
|
|
|
+ const S32 jointId = dAtoi(argv[2]);
|
|
|
|
|
|
// Args.
|
|
|
bool enableMotor;
|
|
@@ -1902,7 +1902,7 @@ ConsoleMethod(Scene, setTargetJointTarget, void, 4, 5, "(jointId, worldTarg
|
|
|
"@return Returns no value." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi(argv[2]);
|
|
|
+ const S32 jointId = dAtoi(argv[2]);
|
|
|
|
|
|
// World target.
|
|
|
const U32 worldTargetElementCount = Utility::mGetStringElementCount(argv[3]);
|
|
@@ -1934,7 +1934,7 @@ ConsoleMethod(Scene, getTargetJointTarget, const char*, 3, 3, "(jointId) Gets
|
|
|
"@return Returns the target world point for the scene object (always 0,0 if error)." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi(argv[2]);
|
|
|
+ const S32 jointId = dAtoi(argv[2]);
|
|
|
|
|
|
// Access joint.
|
|
|
const Vector2 worldTarget = object->getTargetJointTarget( jointId );
|
|
@@ -1950,7 +1950,7 @@ ConsoleMethod(Scene, setTargetJointFrequency, void, 4, 4, "(jointId, frequency
|
|
|
"@return Returns no value." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi(argv[2]);
|
|
|
+ const S32 jointId = dAtoi(argv[2]);
|
|
|
|
|
|
// Fetch args.
|
|
|
const F32 frequency = dAtof(argv[3]);
|
|
@@ -1966,7 +1966,7 @@ ConsoleMethod(Scene, getTargetJointFrequency, F32, 3, 3, "(jointId) Gets the m
|
|
|
"@return Returns the mass-spring-damper frequency in Hertz (-1 indicates error)." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi(argv[2]);
|
|
|
+ const S32 jointId = dAtoi(argv[2]);
|
|
|
|
|
|
// Access joint.
|
|
|
return object->getTargetJointFrequency( jointId );
|
|
@@ -1980,7 +1980,7 @@ ConsoleMethod(Scene, setTargetJointDampingRatio, void, 4, 4, "(jointId, dampi
|
|
|
"@return Returns no value." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi(argv[2]);
|
|
|
+ const S32 jointId = dAtoi(argv[2]);
|
|
|
|
|
|
// Fetch args.
|
|
|
const F32 dampingRatio = dAtof(argv[3]);
|
|
@@ -1996,7 +1996,7 @@ ConsoleMethod(Scene, getTargetJointDampingRatio, F32, 3, 3, "(jointId) Sets t
|
|
|
"@return Returns the damping ratio (-1 indicates error)." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi(argv[2]);
|
|
|
+ const S32 jointId = dAtoi(argv[2]);
|
|
|
|
|
|
// Access joint.
|
|
|
return object->getTargetJointDampingRatio( jointId );
|
|
@@ -2110,7 +2110,7 @@ ConsoleMethod(Scene, setMotorJointLinearOffset, void, 4, 5, "(jointId, linea
|
|
|
"@return Returns no value." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi(argv[2]);
|
|
|
+ const S32 jointId = dAtoi(argv[2]);
|
|
|
|
|
|
// Linear offset.
|
|
|
const U32 linearOffsetElementCount = Utility::mGetStringElementCount(argv[3]);
|
|
@@ -2142,7 +2142,7 @@ ConsoleMethod(Scene, getMotorJointLinearOffset, const char*, 3, 3, "(jointId) G
|
|
|
"@return Returns the linear offset in sceneObjectA space (always 0,0 if error)." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi(argv[2]);
|
|
|
+ const S32 jointId = dAtoi(argv[2]);
|
|
|
|
|
|
// Access joint.
|
|
|
const Vector2 linearOffset = object->getMotorJointLinearOffset( jointId );
|
|
@@ -2158,7 +2158,7 @@ ConsoleMethod(Scene, setMotorJointAngularOffset, void, 4, 4, "(jointId, angul
|
|
|
"@return Returns no value." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi(argv[2]);
|
|
|
+ const S32 jointId = dAtoi(argv[2]);
|
|
|
|
|
|
// Fetch args.
|
|
|
const F32 angularOffset = mDegToRad(dAtof(argv[3]));
|
|
@@ -2174,7 +2174,7 @@ ConsoleMethod(Scene, getMotorJointAngularOffset, F32, 3, 3, "(jointId) Gets
|
|
|
"@return Returns the angularOffset between the bodies (-1 indicates error)." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi(argv[2]);
|
|
|
+ const S32 jointId = dAtoi(argv[2]);
|
|
|
|
|
|
// Access joint.
|
|
|
return mRadToDeg( object->getMotorJointAngularOffset( jointId ) );
|
|
@@ -2188,7 +2188,7 @@ ConsoleMethod(Scene, setMotorJointMaxForce, void, 4, 4, "(jointId, maxForce)
|
|
|
"@return Returns no value." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi(argv[2]);
|
|
|
+ const S32 jointId = dAtoi(argv[2]);
|
|
|
|
|
|
// Fetch args.
|
|
|
const F32 maxForce = dAtof(argv[3]);
|
|
@@ -2204,7 +2204,7 @@ ConsoleMethod(Scene, getMotorJointMaxForce, F32, 3, 3, "(jointId) Sets the max
|
|
|
"@return Returns the maximum motor force (-1 indicates error)." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi(argv[2]);
|
|
|
+ const S32 jointId = dAtoi(argv[2]);
|
|
|
|
|
|
// Access joint.
|
|
|
return object->getMotorJointMaxForce( jointId );
|
|
@@ -2218,7 +2218,7 @@ ConsoleMethod(Scene, setMotorJointMaxTorque, void, 4, 4, "(jointId, maxTorque) S
|
|
|
"@return Returns no value." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi(argv[2]);
|
|
|
+ const S32 jointId = dAtoi(argv[2]);
|
|
|
|
|
|
// Fetch args.
|
|
|
const F32 maxTorque = dAtof(argv[3]);
|
|
@@ -2234,7 +2234,7 @@ ConsoleMethod(Scene, getMotorJointMaxTorque, F32, 3, 3, "(jointId) Gets the max
|
|
|
"@return Returns the maximum motor torque force (-1 indicates error)." )
|
|
|
{
|
|
|
// Fetch joint Id.
|
|
|
- const U32 jointId = dAtoi(argv[2]);
|
|
|
+ const S32 jointId = dAtoi(argv[2]);
|
|
|
|
|
|
// Access joint.
|
|
|
return object->getMotorJointMaxTorque( jointId );
|