Up to date
This page is up to date for Godot 4.1
. If you still find outdated information, please open an issue.
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
Method Descriptions
void _area_add_shape ( RID area, RID shape, Transform3D transform, bool disabled ) virtual
There is currently no description for this method. Please help us by contributing one!
void _area_attach_object_instance_id ( RID area, int id ) virtual
There is currently no description for this method. Please help us by contributing one!
void _area_clear_shapes ( RID area ) virtual
There is currently no description for this method. Please help us by contributing one!
RID _area_create ( ) virtual
There is currently no description for this method. Please help us by contributing one!
int _area_get_collision_layer ( RID area ) virtual const
There is currently no description for this method. Please help us by contributing one!
int _area_get_collision_mask ( RID area ) virtual const
There is currently no description for this method. Please help us by contributing one!
int _area_get_object_instance_id ( RID area ) virtual const
There is currently no description for this method. Please help us by contributing one!
Variant _area_get_param ( RID area, AreaParameter param ) virtual const
There is currently no description for this method. Please help us by contributing one!
RID _area_get_shape ( RID area, int shape_idx ) virtual const
There is currently no description for this method. Please help us by contributing one!
int _area_get_shape_count ( RID area ) virtual const
There is currently no description for this method. Please help us by contributing one!
Transform3D _area_get_shape_transform ( RID area, int shape_idx ) virtual const
There is currently no description for this method. Please help us by contributing one!
RID _area_get_space ( RID area ) virtual const
There is currently no description for this method. Please help us by contributing one!
Transform3D _area_get_transform ( RID area ) virtual const
There is currently no description for this method. Please help us by contributing one!
void _area_remove_shape ( RID area, int shape_idx ) virtual
There is currently no description for this method. Please help us by contributing one!
void _area_set_area_monitor_callback ( RID area, Callable callback ) virtual
There is currently no description for this method. Please help us by contributing one!
void _area_set_collision_layer ( RID area, int layer ) virtual
There is currently no description for this method. Please help us by contributing one!
void _area_set_collision_mask ( RID area, int mask ) virtual
There is currently no description for this method. Please help us by contributing one!
void _area_set_monitor_callback ( RID area, Callable callback ) virtual
There is currently no description for this method. Please help us by contributing one!
void _area_set_monitorable ( RID area, bool monitorable ) virtual
There is currently no description for this method. Please help us by contributing one!
void _area_set_param ( RID area, AreaParameter param, Variant value ) virtual
There is currently no description for this method. Please help us by contributing one!
void _area_set_ray_pickable ( RID area, bool enable ) virtual
There is currently no description for this method. Please help us by contributing one!
void _area_set_shape ( RID area, int shape_idx, RID shape ) virtual
There is currently no description for this method. Please help us by contributing one!
void _area_set_shape_disabled ( RID area, int shape_idx, bool disabled ) virtual
There is currently no description for this method. Please help us by contributing one!
void _area_set_shape_transform ( RID area, int shape_idx, Transform3D transform ) virtual
There is currently no description for this method. Please help us by contributing one!
void _area_set_space ( RID area, RID space ) virtual
There is currently no description for this method. Please help us by contributing one!
void _area_set_transform ( RID area, Transform3D transform ) virtual
There is currently no description for this method. Please help us by contributing one!
void _body_add_collision_exception ( RID body, RID excepted_body ) virtual
There is currently no description for this method. Please help us by contributing one!
void _body_add_constant_central_force ( RID body, Vector3 force ) virtual
There is currently no description for this method. Please help us by contributing one!
void _body_add_constant_force ( RID body, Vector3 force, Vector3 position ) virtual
There is currently no description for this method. Please help us by contributing one!
void _body_add_constant_torque ( RID body, Vector3 torque ) virtual
There is currently no description for this method. Please help us by contributing one!
void _body_add_shape ( RID body, RID shape, Transform3D transform, bool disabled ) virtual
There is currently no description for this method. Please help us by contributing one!
void _body_apply_central_force ( RID body, Vector3 force ) virtual
There is currently no description for this method. Please help us by contributing one!
void _body_apply_central_impulse ( RID body, Vector3 impulse ) virtual
There is currently no description for this method. Please help us by contributing one!
void _body_apply_force ( RID body, Vector3 force, Vector3 position ) virtual
There is currently no description for this method. Please help us by contributing one!
void _body_apply_impulse ( RID body, Vector3 impulse, Vector3 position ) virtual
There is currently no description for this method. Please help us by contributing one!
void _body_apply_torque ( RID body, Vector3 torque ) virtual
There is currently no description for this method. Please help us by contributing one!
void _body_apply_torque_impulse ( RID body, Vector3 impulse ) virtual
There is currently no description for this method. Please help us by contributing one!
void _body_attach_object_instance_id ( RID body, int id ) virtual
There is currently no description for this method. Please help us by contributing one!
void _body_clear_shapes ( RID body ) virtual
There is currently no description for this method. Please help us by contributing one!
RID _body_create ( ) virtual
There is currently no description for this method. Please help us by contributing one!
RID[] _body_get_collision_exceptions ( RID body ) virtual const
There is currently no description for this method. Please help us by contributing one!
int _body_get_collision_layer ( RID body ) virtual const
There is currently no description for this method. Please help us by contributing one!
int _body_get_collision_mask ( RID body ) virtual const
There is currently no description for this method. Please help us by contributing one!
float _body_get_collision_priority ( RID body ) virtual const
There is currently no description for this method. Please help us by contributing one!
Vector3 _body_get_constant_force ( RID body ) virtual const
There is currently no description for this method. Please help us by contributing one!
Vector3 _body_get_constant_torque ( RID body ) virtual const
There is currently no description for this method. Please help us by contributing one!
float _body_get_contacts_reported_depth_threshold ( RID body ) virtual const
There is currently no description for this method. Please help us by contributing one!
PhysicsDirectBodyState3D _body_get_direct_state ( RID body ) virtual
There is currently no description for this method. Please help us by contributing one!
int _body_get_max_contacts_reported ( RID body ) virtual const
There is currently no description for this method. Please help us by contributing one!
BodyMode _body_get_mode ( RID body ) virtual const
There is currently no description for this method. Please help us by contributing one!
int _body_get_object_instance_id ( RID body ) virtual const
There is currently no description for this method. Please help us by contributing one!
Variant _body_get_param ( RID body, BodyParameter param ) virtual const
There is currently no description for this method. Please help us by contributing one!
RID _body_get_shape ( RID body, int shape_idx ) virtual const
There is currently no description for this method. Please help us by contributing one!
int _body_get_shape_count ( RID body ) virtual const
There is currently no description for this method. Please help us by contributing one!
Transform3D _body_get_shape_transform ( RID body, int shape_idx ) virtual const
There is currently no description for this method. Please help us by contributing one!
RID _body_get_space ( RID body ) virtual const
There is currently no description for this method. Please help us by contributing one!
Variant _body_get_state ( RID body, BodyState state ) virtual const
There is currently no description for this method. Please help us by contributing one!
int _body_get_user_flags ( RID body ) virtual const
There is currently no description for this method. Please help us by contributing one!
bool _body_is_axis_locked ( RID body, BodyAxis axis ) virtual const
There is currently no description for this method. Please help us by contributing one!
bool _body_is_continuous_collision_detection_enabled ( RID body ) virtual const
There is currently no description for this method. Please help us by contributing one!
bool _body_is_omitting_force_integration ( RID body ) virtual const
There is currently no description for this method. Please help us by contributing one!
void _body_remove_collision_exception ( RID body, RID excepted_body ) virtual
There is currently no description for this method. Please help us by contributing one!
void _body_remove_shape ( RID body, int shape_idx ) virtual
There is currently no description for this method. Please help us by contributing one!
void _body_reset_mass_properties ( RID body ) virtual
There is currently no description for this method. Please help us by contributing one!
void _body_set_axis_lock ( RID body, BodyAxis axis, bool lock ) virtual
There is currently no description for this method. Please help us by contributing one!
void _body_set_axis_velocity ( RID body, Vector3 axis_velocity ) virtual
There is currently no description for this method. Please help us by contributing one!
void _body_set_collision_layer ( RID body, int layer ) virtual
There is currently no description for this method. Please help us by contributing one!
void _body_set_collision_mask ( RID body, int mask ) virtual
There is currently no description for this method. Please help us by contributing one!
void _body_set_collision_priority ( RID body, float priority ) virtual
There is currently no description for this method. Please help us by contributing one!
void _body_set_constant_force ( RID body, Vector3 force ) virtual
There is currently no description for this method. Please help us by contributing one!
void _body_set_constant_torque ( RID body, Vector3 torque ) virtual
There is currently no description for this method. Please help us by contributing one!
void _body_set_contacts_reported_depth_threshold ( RID body, float threshold ) virtual
There is currently no description for this method. Please help us by contributing one!
void _body_set_enable_continuous_collision_detection ( RID body, bool enable ) virtual
There is currently no description for this method. Please help us by contributing one!
void _body_set_force_integration_callback ( RID body, Callable callable, Variant userdata ) virtual
There is currently no description for this method. Please help us by contributing one!
void _body_set_max_contacts_reported ( RID body, int amount ) virtual
There is currently no description for this method. Please help us by contributing one!
void _body_set_mode ( RID body, BodyMode mode ) virtual
There is currently no description for this method. Please help us by contributing one!
void _body_set_omit_force_integration ( RID body, bool enable ) virtual
There is currently no description for this method. Please help us by contributing one!
void _body_set_param ( RID body, BodyParameter param, Variant value ) virtual
There is currently no description for this method. Please help us by contributing one!
void _body_set_ray_pickable ( RID body, bool enable ) virtual
There is currently no description for this method. Please help us by contributing one!
void _body_set_shape ( RID body, int shape_idx, RID shape ) virtual
There is currently no description for this method. Please help us by contributing one!
void _body_set_shape_disabled ( RID body, int shape_idx, bool disabled ) virtual
There is currently no description for this method. Please help us by contributing one!
void _body_set_shape_transform ( RID body, int shape_idx, Transform3D transform ) virtual
There is currently no description for this method. Please help us by contributing one!
void _body_set_space ( RID body, RID space ) virtual
There is currently no description for this method. Please help us by contributing one!
void _body_set_state ( RID body, BodyState state, Variant value ) virtual
There is currently no description for this method. Please help us by contributing one!
void _body_set_state_sync_callback ( RID body, Callable callable ) virtual
There is currently no description for this method. Please help us by contributing one!
void _body_set_user_flags ( RID body, int flags ) virtual
There is currently no description for this method. Please help us by contributing one!
bool _body_test_motion ( RID body, Transform3D from, Vector3 motion, float margin, int max_collisions, bool collide_separation_ray, bool recovery_as_collision, PhysicsServer3DExtensionMotionResult* result ) virtual const
There is currently no description for this method. Please help us by contributing one!
RID _box_shape_create ( ) virtual
There is currently no description for this method. Please help us by contributing one!
RID _capsule_shape_create ( ) virtual
There is currently no description for this method. Please help us by contributing one!
RID _concave_polygon_shape_create ( ) virtual
There is currently no description for this method. Please help us by contributing one!
float _cone_twist_joint_get_param ( RID joint, ConeTwistJointParam param ) virtual const
There is currently no description for this method. Please help us by contributing one!
void _cone_twist_joint_set_param ( RID joint, ConeTwistJointParam param, float value ) virtual
There is currently no description for this method. Please help us by contributing one!
RID _convex_polygon_shape_create ( ) virtual
There is currently no description for this method. Please help us by contributing one!
RID _custom_shape_create ( ) virtual
There is currently no description for this method. Please help us by contributing one!
RID _cylinder_shape_create ( ) virtual
There is currently no description for this method. Please help us by contributing one!
void _end_sync ( ) virtual
There is currently no description for this method. Please help us by contributing one!
void _finish ( ) virtual
There is currently no description for this method. Please help us by contributing one!
void _flush_queries ( ) virtual
There is currently no description for this method. Please help us by contributing one!
void _free_rid ( RID rid ) virtual
There is currently no description for this method. Please help us by contributing one!
bool _generic_6dof_joint_get_flag ( RID joint, Vector3.Axis axis, G6DOFJointAxisFlag flag ) virtual const
There is currently no description for this method. Please help us by contributing one!
float _generic_6dof_joint_get_param ( RID joint, Vector3.Axis axis, G6DOFJointAxisParam param ) virtual const
There is currently no description for this method. Please help us by contributing one!
void _generic_6dof_joint_set_flag ( RID joint, Vector3.Axis axis, G6DOFJointAxisFlag flag, bool enable ) virtual
There is currently no description for this method. Please help us by contributing one!
void _generic_6dof_joint_set_param ( RID joint, Vector3.Axis axis, G6DOFJointAxisParam param, float value ) virtual
There is currently no description for this method. Please help us by contributing one!
int _get_process_info ( ProcessInfo process_info ) virtual
There is currently no description for this method. Please help us by contributing one!
RID _heightmap_shape_create ( ) virtual
There is currently no description for this method. Please help us by contributing one!
bool _hinge_joint_get_flag ( RID joint, HingeJointFlag flag ) virtual const
There is currently no description for this method. Please help us by contributing one!
float _hinge_joint_get_param ( RID joint, HingeJointParam param ) virtual const
There is currently no description for this method. Please help us by contributing one!
void _hinge_joint_set_flag ( RID joint, HingeJointFlag flag, bool enabled ) virtual
There is currently no description for this method. Please help us by contributing one!
void _hinge_joint_set_param ( RID joint, HingeJointParam param, float value ) virtual
There is currently no description for this method. Please help us by contributing one!
void _init ( ) virtual
There is currently no description for this method. Please help us by contributing one!
bool _is_flushing_queries ( ) virtual const
There is currently no description for this method. Please help us by contributing one!
void _joint_clear ( RID joint ) virtual
There is currently no description for this method. Please help us by contributing one!
RID _joint_create ( ) virtual
There is currently no description for this method. Please help us by contributing one!
void _joint_disable_collisions_between_bodies ( RID joint, bool disable ) virtual
There is currently no description for this method. Please help us by contributing one!
int _joint_get_solver_priority ( RID joint ) virtual const
There is currently no description for this method. Please help us by contributing one!
JointType _joint_get_type ( RID joint ) virtual const
There is currently no description for this method. Please help us by contributing one!
bool _joint_is_disabled_collisions_between_bodies ( RID joint ) virtual const
There is currently no description for this method. Please help us by contributing one!
void _joint_make_cone_twist ( RID joint, RID body_A, Transform3D local_ref_A, RID body_B, Transform3D local_ref_B ) virtual
There is currently no description for this method. Please help us by contributing one!
void _joint_make_generic_6dof ( RID joint, RID body_A, Transform3D local_ref_A, RID body_B, Transform3D local_ref_B ) virtual
There is currently no description for this method. Please help us by contributing one!
void _joint_make_hinge ( RID joint, RID body_A, Transform3D hinge_A, RID body_B, Transform3D hinge_B ) virtual
There is currently no description for this method. Please help us by contributing one!
void _joint_make_hinge_simple ( RID joint, RID body_A, Vector3 pivot_A, Vector3 axis_A, RID body_B, Vector3 pivot_B, Vector3 axis_B ) virtual
There is currently no description for this method. Please help us by contributing one!
void _joint_make_pin ( RID joint, RID body_A, Vector3 local_A, RID body_B, Vector3 local_B ) virtual
There is currently no description for this method. Please help us by contributing one!
void _joint_make_slider ( RID joint, RID body_A, Transform3D local_ref_A, RID body_B, Transform3D local_ref_B ) virtual
There is currently no description for this method. Please help us by contributing one!
void _joint_set_solver_priority ( RID joint, int priority ) virtual
There is currently no description for this method. Please help us by contributing one!
Vector3 _pin_joint_get_local_a ( RID joint ) virtual const
There is currently no description for this method. Please help us by contributing one!
Vector3 _pin_joint_get_local_b ( RID joint ) virtual const
There is currently no description for this method. Please help us by contributing one!
float _pin_joint_get_param ( RID joint, PinJointParam param ) virtual const
There is currently no description for this method. Please help us by contributing one!
void _pin_joint_set_local_a ( RID joint, Vector3 local_A ) virtual
There is currently no description for this method. Please help us by contributing one!
void _pin_joint_set_local_b ( RID joint, Vector3 local_B ) virtual
There is currently no description for this method. Please help us by contributing one!
void _pin_joint_set_param ( RID joint, PinJointParam param, float value ) virtual
There is currently no description for this method. Please help us by contributing one!
RID _separation_ray_shape_create ( ) virtual
There is currently no description for this method. Please help us by contributing one!
void _set_active ( bool active ) virtual
There is currently no description for this method. Please help us by contributing one!
float _shape_get_custom_solver_bias ( RID shape ) virtual const
There is currently no description for this method. Please help us by contributing one!
Variant _shape_get_data ( RID shape ) virtual const
There is currently no description for this method. Please help us by contributing one!
float _shape_get_margin ( RID shape ) virtual const
There is currently no description for this method. Please help us by contributing one!
ShapeType _shape_get_type ( RID shape ) virtual const
There is currently no description for this method. Please help us by contributing one!
void _shape_set_custom_solver_bias ( RID shape, float bias ) virtual
There is currently no description for this method. Please help us by contributing one!
void _shape_set_data ( RID shape, Variant data ) virtual
There is currently no description for this method. Please help us by contributing one!
void _shape_set_margin ( RID shape, float margin ) virtual
There is currently no description for this method. Please help us by contributing one!
float _slider_joint_get_param ( RID joint, SliderJointParam param ) virtual const
There is currently no description for this method. Please help us by contributing one!
void _slider_joint_set_param ( RID joint, SliderJointParam param, float value ) virtual
There is currently no description for this method. Please help us by contributing one!
void _soft_body_add_collision_exception ( RID body, RID body_b ) virtual
There is currently no description for this method. Please help us by contributing one!
RID _soft_body_create ( ) virtual
There is currently no description for this method. Please help us by contributing one!
AABB _soft_body_get_bounds ( RID body ) virtual const
There is currently no description for this method. Please help us by contributing one!
RID[] _soft_body_get_collision_exceptions ( RID body ) virtual const
There is currently no description for this method. Please help us by contributing one!
int _soft_body_get_collision_layer ( RID body ) virtual const
There is currently no description for this method. Please help us by contributing one!
int _soft_body_get_collision_mask ( RID body ) virtual const
There is currently no description for this method. Please help us by contributing one!
float _soft_body_get_damping_coefficient ( RID body ) virtual const
There is currently no description for this method. Please help us by contributing one!
float _soft_body_get_drag_coefficient ( RID body ) virtual const
There is currently no description for this method. Please help us by contributing one!
float _soft_body_get_linear_stiffness ( RID body ) virtual const
There is currently no description for this method. Please help us by contributing one!
Vector3 _soft_body_get_point_global_position ( RID body, int point_index ) virtual const
There is currently no description for this method. Please help us by contributing one!
float _soft_body_get_pressure_coefficient ( RID body ) virtual const
There is currently no description for this method. Please help us by contributing one!
int _soft_body_get_simulation_precision ( RID body ) virtual const
There is currently no description for this method. Please help us by contributing one!
RID _soft_body_get_space ( RID body ) virtual const
There is currently no description for this method. Please help us by contributing one!
Variant _soft_body_get_state ( RID body, BodyState state ) virtual const
There is currently no description for this method. Please help us by contributing one!
float _soft_body_get_total_mass ( RID body ) virtual const
There is currently no description for this method. Please help us by contributing one!
bool _soft_body_is_point_pinned ( RID body, int point_index ) virtual const
There is currently no description for this method. Please help us by contributing one!
void _soft_body_move_point ( RID body, int point_index, Vector3 global_position ) virtual
There is currently no description for this method. Please help us by contributing one!
void _soft_body_pin_point ( RID body, int point_index, bool pin ) virtual
There is currently no description for this method. Please help us by contributing one!
void _soft_body_remove_all_pinned_points ( RID body ) virtual
There is currently no description for this method. Please help us by contributing one!
void _soft_body_remove_collision_exception ( RID body, RID body_b ) virtual
There is currently no description for this method. Please help us by contributing one!
void _soft_body_set_collision_layer ( RID body, int layer ) virtual
There is currently no description for this method. Please help us by contributing one!
void _soft_body_set_collision_mask ( RID body, int mask ) virtual
There is currently no description for this method. Please help us by contributing one!
void _soft_body_set_damping_coefficient ( RID body, float damping_coefficient ) virtual
There is currently no description for this method. Please help us by contributing one!
void _soft_body_set_drag_coefficient ( RID body, float drag_coefficient ) virtual
There is currently no description for this method. Please help us by contributing one!
void _soft_body_set_linear_stiffness ( RID body, float linear_stiffness ) virtual
There is currently no description for this method. Please help us by contributing one!
void _soft_body_set_mesh ( RID body, RID mesh ) virtual
There is currently no description for this method. Please help us by contributing one!
void _soft_body_set_pressure_coefficient ( RID body, float pressure_coefficient ) virtual
There is currently no description for this method. Please help us by contributing one!
void _soft_body_set_ray_pickable ( RID body, bool enable ) virtual
There is currently no description for this method. Please help us by contributing one!
void _soft_body_set_simulation_precision ( RID body, int simulation_precision ) virtual
There is currently no description for this method. Please help us by contributing one!
void _soft_body_set_space ( RID body, RID space ) virtual
There is currently no description for this method. Please help us by contributing one!
void _soft_body_set_state ( RID body, BodyState state, Variant variant ) virtual
There is currently no description for this method. Please help us by contributing one!
void _soft_body_set_total_mass ( RID body, float total_mass ) virtual
There is currently no description for this method. Please help us by contributing one!
void _soft_body_set_transform ( RID body, Transform3D transform ) virtual
There is currently no description for this method. Please help us by contributing one!
void _soft_body_update_rendering_server ( RID body, PhysicsServer3DRenderingServerHandler rendering_server_handler ) virtual
There is currently no description for this method. Please help us by contributing one!
RID _space_create ( ) virtual
There is currently no description for this method. Please help us by contributing one!
int _space_get_contact_count ( RID space ) virtual const
There is currently no description for this method. Please help us by contributing one!
PackedVector3Array _space_get_contacts ( RID space ) virtual const
There is currently no description for this method. Please help us by contributing one!
PhysicsDirectSpaceState3D _space_get_direct_state ( RID space ) virtual
There is currently no description for this method. Please help us by contributing one!
float _space_get_param ( RID space, SpaceParameter param ) virtual const
There is currently no description for this method. Please help us by contributing one!
bool _space_is_active ( RID space ) virtual const
There is currently no description for this method. Please help us by contributing one!
void _space_set_active ( RID space, bool active ) virtual
There is currently no description for this method. Please help us by contributing one!
void _space_set_debug_contacts ( RID space, int max_contacts ) virtual
There is currently no description for this method. Please help us by contributing one!
void _space_set_param ( RID space, SpaceParameter param, float value ) virtual
There is currently no description for this method. Please help us by contributing one!
RID _sphere_shape_create ( ) virtual
There is currently no description for this method. Please help us by contributing one!
void _step ( float step ) virtual
There is currently no description for this method. Please help us by contributing one!
void _sync ( ) virtual
There is currently no description for this method. Please help us by contributing one!
RID _world_boundary_shape_create ( ) virtual
There is currently no description for this method. Please help us by contributing one!
bool body_test_motion_is_excluding_body ( RID body ) const
There is currently no description for this method. Please help us by contributing one!
bool body_test_motion_is_excluding_object ( int object ) const
There is currently no description for this method. Please help us by contributing one!