src/constraint/BallAndSocketJoint.cpp
void BallAndSocketJoint::setConeLimitHalfAngle(decimal coneHalfAngle) {

    if (mWorld.mBallAndSocketJointsComponents.getConeLimitHalfAngle(mEntity) != coneHalfAngle) {

        mWorld.mBallAndSocketJointsComponents.setConeLimitHalfAngle(mEntity, coneHalfAngle);

        resetLimits();
    }
}
// Set the cone limit half angle
/**
 * @param coneHalfAngle The angle of the cone limit (in radian) from [0; PI]
 */
Set the cone limit half angle
@param coneHalfAngle The angle of the cone limit (in radian) from [0; PI]
Set the cone limit half angle @param coneHalfAngle The angle of the cone limit ( in radian ) from [ 0 ; PI ]
void BallAndSocketJoint::setConeLimitHalfAngle(decimal coneHalfAngle) {
    if (mWorld.mBallAndSocketJointsComponents.getConeLimitHalfAngle(mEntity) != coneHalfAngle) {
        mWorld.mBallAndSocketJointsComponents.setConeLimitHalfAngle(mEntity, coneHalfAngle);
        resetLimits();
    }
}
void BallAndSocketJoint :: setConeLimitHalfAngle ( decimal coneHalfAngle ) { if ( mWorld . mBallAndSocketJointsComponents . getConeLimitHalfAngle ( mEntity ) != coneHalfAngle ) { mWorld . mBallAndSocketJointsComponents . setConeLimitHalfAngle ( mEntity , coneHalfAngle ) ; resetLimits ( ) ; } }
Set the cone limit half angle
 @param coneHalfAngle The angle of the cone limit (in radian) from [0; PI]
Set the cone limit half angle @param coneHalfAngle The angle of the cone limit ( in radian ) from [ 0 ; PI ]