PhysicalBone

Inherits: PhysicsBody < CollisionObject < Spatial < Node < Object

Properties

Methods

Enumerations

JointType:

  • JOINT_TYPE_NONE = 0
  • JOINT_TYPE_PIN = 1
  • JOINT_TYPE_CONE = 2
  • JOINT_TYPE_HINGE = 3
  • JOINT_TYPE_SLIDER = 4
  • JOINT_TYPE_6DOF = 5

    Property Descriptions

  • Transform body_offset

- float bounce

- float friction

- float gravity_scale

- Transform joint_offset

- JointType joint_type

- float mass

  • float weight

    Method Descriptions

  • apply_central_impulse ( Vector3 impulse )

- apply_impulse ( Vector3 position, Vector3 impulse )

- int get_bone_id ( ) const

- bool get_simulate_physics ( )

- bool is_simulating_physics ( )

  • bool is_static_body ( )