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...
PhysicsServer3DExtension¶
Inherits: PhysicsServer3D < Object
Provides virtual methods that can be overridden to create custom PhysicsServer3D implementations.
Description¶
This class extends PhysicsServer3D 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 PhysicsServer3D.
Methods¶
void |
_area_add_shape ( RID area, RID shape, Transform3D transform, bool disabled ) virtual |
void |
_area_attach_object_instance_id ( RID area, int id ) virtual |
void |
_area_clear_shapes ( RID area ) virtual |
_area_create ( ) virtual |
|
_area_get_collision_layer ( RID area ) virtual const |
|
_area_get_collision_mask ( RID area ) virtual const |
|
_area_get_object_instance_id ( RID area ) virtual const |
|
_area_get_param ( RID area, AreaParameter param ) virtual const |
|
_area_get_shape ( RID area, int shape_idx ) virtual const |
|
_area_get_shape_count ( RID area ) virtual const |
|
_area_get_shape_transform ( RID area, int shape_idx ) virtual const |
|
_area_get_space ( RID area ) virtual const |
|
_area_get_transform ( RID area ) virtual const |
|
void |
_area_remove_shape ( RID area, int shape_idx ) virtual |
void |
_area_set_area_monitor_callback ( RID area, Callable callback ) virtual |
void |
_area_set_collision_layer ( RID area, int layer ) virtual |
void |
_area_set_collision_mask ( RID area, int mask ) virtual |
void |
_area_set_monitor_callback ( RID area, Callable callback ) virtual |
void |
_area_set_monitorable ( RID area, bool monitorable ) virtual |
void |
_area_set_param ( RID area, AreaParameter param, Variant value ) virtual |
void |
_area_set_ray_pickable ( RID area, bool enable ) virtual |
void |
_area_set_shape ( RID area, int shape_idx, RID shape ) virtual |
void |
_area_set_shape_disabled ( RID area, int shape_idx, bool disabled ) virtual |
void |
_area_set_shape_transform ( RID area, int shape_idx, Transform3D transform ) virtual |
void |
_area_set_space ( RID area, RID space ) virtual |
void |
_area_set_transform ( RID area, Transform3D transform ) virtual |
void |
_body_add_collision_exception ( RID body, RID excepted_body ) virtual |
void |
_body_add_constant_central_force ( RID body, Vector3 force ) virtual |
void |
_body_add_constant_force ( RID body, Vector3 force, Vector3 position ) virtual |
void |
_body_add_constant_torque ( RID body, Vector3 torque ) virtual |
void |
_body_add_shape ( RID body, RID shape, Transform3D transform, bool disabled ) virtual |
void |
_body_apply_central_force ( RID body, Vector3 force ) virtual |
void |
_body_apply_central_impulse ( RID body, Vector3 impulse ) virtual |
void |
_body_apply_force ( RID body, Vector3 force, Vector3 position ) virtual |
void |
_body_apply_impulse ( RID body, Vector3 impulse, Vector3 position ) virtual |
void |
_body_apply_torque ( RID body, Vector3 torque ) virtual |
void |
_body_apply_torque_impulse ( RID body, Vector3 impulse ) virtual |
void |
_body_attach_object_instance_id ( RID body, int id ) virtual |
void |
_body_clear_shapes ( RID body ) virtual |
_body_create ( ) virtual |
|
_body_get_collision_exceptions ( RID body ) virtual const |
|
_body_get_collision_layer ( RID body ) virtual const |
|
_body_get_collision_mask ( RID body ) virtual const |
|
_body_get_collision_priority ( RID body ) virtual const |
|
_body_get_constant_force ( RID body ) virtual const |
|
_body_get_constant_torque ( RID body ) virtual const |
|
_body_get_contacts_reported_depth_threshold ( RID body ) virtual const |
|
_body_get_direct_state ( RID body ) virtual |
|
_body_get_max_contacts_reported ( RID body ) virtual const |
|
_body_get_mode ( RID body ) virtual const |
|
_body_get_object_instance_id ( RID body ) virtual const |
|
_body_get_param ( RID body, BodyParameter param ) virtual const |
|
_body_get_shape ( RID body, int shape_idx ) virtual const |
|
_body_get_shape_count ( RID body ) virtual const |
|
_body_get_shape_transform ( RID body, int shape_idx ) virtual const |
|
_body_get_space ( RID body ) virtual const |
|
_body_get_state ( RID body, BodyState state ) virtual const |
|
_body_get_user_flags ( RID body ) virtual const |
|
_body_is_axis_locked ( RID body, BodyAxis axis ) virtual const |
|
_body_is_continuous_collision_detection_enabled ( RID body ) virtual const |
|
_body_is_omitting_force_integration ( RID body ) virtual const |
|
void |
_body_remove_collision_exception ( RID body, RID excepted_body ) virtual |
void |
_body_remove_shape ( RID body, int shape_idx ) virtual |
void |
_body_reset_mass_properties ( RID body ) virtual |
void |