src/constraint/BallAndSocketJoint.cpp
void BallAndSocketJoint::enableConeLimit(bool isLimitEnabled) {
    mWorld.mBallAndSocketJointsComponents.setIsConeLimitEnabled(mEntity, isLimitEnabled);

    resetLimits();
}
// Enable/disable the cone limit of the joint
/// It is possible to enable a cone-limit for the BallAndSocketJoint in order to
/// restrict the angular motion between the two bodies. Use this method to enable/disable
/// the cone-limit.
/**
 * @param isLimitEnabled True if the limit must be enabled and false otherwise
 */
Enable/disable the cone limit of the joint
It is possible to enable a cone-limit for the BallAndSocketJoint in order to
restrict the angular motion between the two bodies. Use this method to enable/disable
the cone-limit.

@param isLimitEnabled True if the limit must be enabled and false otherwise
Enable / disable the cone limit of the joint It is possible to enable a cone - limit for the BallAndSocketJoint in order to restrict the angular motion between the two bodies . Use this method to enable / disable the cone - limit . @param isLimitEnabled True if the limit must be enabled and false otherwise
void BallAndSocketJoint::enableConeLimit(bool isLimitEnabled) {
    mWorld.mBallAndSocketJointsComponents.setIsConeLimitEnabled(mEntity, isLimitEnabled);
    resetLimits();
}
void BallAndSocketJoint :: enableConeLimit ( bool isLimitEnabled ) { mWorld . mBallAndSocketJointsComponents . setIsConeLimitEnabled ( mEntity , isLimitEnabled ) ; resetLimits ( ) ; }
Enable/disable the cone limit of the joint
It is possible to enable a cone-limit for the BallAndSocketJoint in order to
restrict the angular motion between the two bodies.
Enable / disable the cone limit of the joint It is possible to enable a cone - limit for the BallAndSocketJoint in order to restrict the angular motion between the two bodies .