HingeJoint

Inherits: Joint < Spatial < Node < Object

Category: Core

Brief Description

Member Functions

bool get_flag ( int flag ) const
float get_param ( int param ) const
void set_flag ( int flag, bool enabled )
void set_param ( int param, float value )

Member Variables

  • float angular_limit/bias
  • bool angular_limit/enable
  • float angular_limit/lower
  • float angular_limit/relaxation
  • float angular_limit/softness
  • float angular_limit/upper
  • bool motor/enable
  • float motor/max_impulse
  • float motor/target_velocity
  • float params/bias

Numeric Constants

  • PARAM_BIAS = 0
  • PARAM_LIMIT_UPPER = 1
  • PARAM_LIMIT_LOWER = 2
  • PARAM_LIMIT_BIAS = 3
  • PARAM_LIMIT_SOFTNESS = 4
  • PARAM_LIMIT_RELAXATION = 5
  • PARAM_MOTOR_TARGET_VELOCITY = 6
  • PARAM_MOTOR_MAX_IMPULSE = 7
  • PARAM_MAX = 8
  • FLAG_USE_LIMIT = 0
  • FLAG_ENABLE_MOTOR = 1
  • FLAG_MAX = 2

Member Function Description

  • void set_flag ( int flag, bool enabled )
  • void set_param ( int param, float value )