Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
PhysicsDirectBodyState3DExtension¶
Inherits: PhysicsDirectBodyState3D < Object
Provides virtual methods that can be overridden to create custom PhysicsDirectBodyState3D implementations.
Description¶
This class extends PhysicsDirectBodyState3D by providing additional virtual methods that can be overridden. When these methods are overridden, they will be called instead of the internal methods of the physics server.
Intended for use with GDExtension to create custom implementations of PhysicsDirectBodyState3D.
Methods¶
void |
_add_constant_central_force ( Vector3 force ) virtual |
void |
_add_constant_force ( Vector3 force, Vector3 position ) virtual |
void |
_add_constant_torque ( Vector3 torque ) virtual |
void |
_apply_central_force ( Vector3 force ) virtual |
void |
_apply_central_impulse ( Vector3 impulse ) virtual |
void |
_apply_force ( Vector3 force, Vector3 position ) virtual |
void |
_apply_impulse ( Vector3 impulse, Vector3 position ) virtual |
void |
_apply_torque ( Vector3 torque ) virtual |
void |
_apply_torque_impulse ( Vector3 impulse ) virtual |
_get_angular_velocity ( ) virtual const |
|
_get_center_of_mass ( ) virtual const |
|
_get_center_of_mass_local ( ) virtual const |
|
_get_constant_force ( ) virtual const |
|
_get_constant_torque ( ) virtual const |
|
_get_contact_collider ( int contact_idx ) virtual const |
|
_get_contact_collider_id ( int contact_idx ) virtual const |
|
_get_contact_collider_object ( int contact_idx ) virtual const |
|
_get_contact_collider_position ( int contact_idx ) virtual const |
|
_get_contact_collider_shape ( int contact_idx ) virtual const |
|
_get_contact_collider_velocity_at_position ( int contact_idx ) virtual const |
|
_get_contact_count ( ) virtual const |
|
_get_contact_impulse ( int contact_idx ) virtual const |
|
_get_contact_local_normal ( int contact_idx ) virtual const |
|
_get_contact_local_position ( int contact_idx ) virtual const |
|
_get_contact_local_shape ( int contact_idx ) virtual const |
|
_get_contact_local_velocity_at_position ( int contact_idx ) virtual const |
|
_get_inverse_inertia ( ) virtual const |
|
_get_inverse_inertia_tensor ( ) virtual const |
|
_get_inverse_mass ( ) virtual const |
|
_get_linear_velocity ( ) virtual const |
|
_get_principal_inertia_axes ( ) virtual const |
|
_get_space_state ( ) virtual |
|
_get_step ( ) virtual const |
|
_get_total_angular_damp ( ) virtual const |
|
_get_total_gravity ( ) virtual const |
|
_get_total_linear_damp ( ) virtual const |
|
_get_transform ( ) virtual const |
|
_get_velocity_at_local_position ( Vector3 local_position ) virtual const |
|
void |
_integrate_forces ( ) virtual |
_is_sleeping ( ) virtual const |
|
void |
_set_angular_velocity ( Vector3 velocity ) virtual |
void |
_set_constant_force ( Vector3 force ) virtual |
void |
_set_constant_torque ( Vector3 torque ) virtual |
void |
_set_linear_velocity ( Vector3 velocity ) virtual |
void |
_set_sleep_state ( bool enabled ) virtual |
void |
_set_transform ( Transform3D transform ) virtual |
Method Descriptions¶
void _add_constant_central_force ( Vector3 force ) virtual
There is currently no description for this method. Please help us by contributing one!
void _add_constant_force ( Vector3 force, Vector3 position ) virtual
There is currently no description for this method. Please help us by contributing one!
void _add_constant_torque ( Vector3 torque ) virtual
There is currently no description for this method. Please help us by contributing one!
void _apply_central_force ( Vector3 force ) virtual
There is currently no description for this method. Please help us by contributing one!
void _apply_central_impulse ( Vector3 impulse ) virtual
There is currently no description for this method. Please help us by contributing one!
void _apply_force ( Vector3 force, Vector3 position ) virtual
There is currently no description for this method. Please help us by contributing one!
void _apply_impulse ( Vector3 impulse, Vector3 position ) virtual
There is currently no description for this method. Please help us by contributing one!
void _apply_torque ( Vector3 torque ) virtual
There is currently no description for this method. Please help us by contributing one!
void _apply_torque_impulse ( Vector3 impulse ) virtual
There is currently no description for this method. Please help us by contributing one!
Vector3 _get_angular_velocity ( ) virtual const
There is currently no description for this method. Please help us by contributing one!
Vector3 _get_center_of_mass ( ) virtual const
There is currently no description for this method. Please help us by contributing one!
Vector3 _get_center_of_mass_local ( ) virtual const
There is currently no description for this method. Please help us by contributing one!
Vector3 _get_constant_force ( ) virtual const
There is currently no description for this method. Please help us by contributing one!
Vector3 _get_constant_torque ( ) virtual const
There is currently no description for this method. Please help us by contributing one!
RID _get_contact_collider ( int contact_idx ) virtual const
There is currently no description for this method. Please help us by contributing one!
int _get_contact_collider_id ( int contact_idx ) virtual const
There is currently no description for this method. Please help us by contributing one!
Object _get_contact_collider_object ( int contact_idx ) virtual const
There is currently no description for this method. Please help us by contributing one!