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 )

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

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 )

© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/2.1/classes/class_hingejoint.html