PhysicalBone

    void

    apply_central_impulse ( impulse )

    void

    apply_impulse ( position, Vector3 impulse )

    bool

    ( )

    bool

    ( )

    bool

    ( )

    enum JointType:

    • JOINT_TYPE_NONE = 0

    • JOINT_TYPE_PIN = 1

    • JOINT_TYPE_HINGE = 3

    • JOINT_TYPE_SLIDER = 4

    • JOINT_TYPE_6DOF = 5

    Default

    Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )

    Setter

    set_body_offset(value)

    Getter

    get_body_offset()


    • bounce

    Default

    Setter

    set_friction(value)

    get_friction()


    • gravity_scale

    Default

    1.0

    Setter

    set_gravity_scale(value)

    Getter

    get_gravity_scale()



    Default

    0

    Setter

    set_joint_type(value)

    Getter

    get_joint_type()


    • mass

    Default

    1.0

    Setter

    set_mass(value)

    Getter

    get_mass()


    • void apply_central_impulse ( Vector3 impulse )

    • void apply_impulse ( position, Vector3 impulse )

    • get_bone_id ( ) const

    • bool get_simulate_physics ( )


    • is_static_body ( )