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.

PhysicsServer2DExtensionยถ

Inherits: PhysicsServer2D < Object

Provides virtual methods that can be overridden to create custom PhysicsServer2D implementations.

Descriptionยถ

This class extends PhysicsServer2D 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 PhysicsServer2D.

Methodsยถ

void

_area_add_shape(area: RID, shape: RID, transform: Transform2D, disabled: bool) virtual

void

_area_attach_canvas_instance_id(area: RID, id: int) virtual

void

_area_attach_object_instance_id(area: RID, id: int) virtual

void

_area_clear_shapes(area: RID) virtual

RID

_area_create() virtual

int

_area_get_canvas_instance_id(area: RID) virtual const

int

_area_get_collision_layer(area: RID) virtual const

int

_area_get_collision_mask(area: RID) virtual const

int

_area_get_object_instance_id(area: RID) virtual const

Variant

_area_get_param(area: RID, param: AreaParameter) virtual const

RID

_area_get_shape(area: RID, shape_idx: int) virtual const

int

_area_get_shape_count(area: RID) virtual const

Transform2D

_area_get_shape_transform(area: RID, shape_idx: int) virtual const

RID

_area_get_space(area: RID) virtual const

Transform2D

_area_get_transform(area: RID) virtual const

void

_area_remove_shape(area: RID, shape_idx: int) virtual

void

_area_set_area_monitor_callback(area: RID, callback: Callable) virtual

void

_area_set_collision_layer(area: RID, layer: int) virtual

void

_area_set_collision_mask(area: RID, mask: int) virtual

void

_area_set_monitor_callback(area: RID, callback: Callable) virtual

void

_area_set_monitorable(area: RID, monitorable: bool) virtual

void

_area_set_param(area: RID, param: AreaParameter, value: Variant) virtual

void

_area_set_pickable(area: RID, pickable: bool) virtual

void

_area_set_shape(area: RID, shape_idx: int, shape: RID) virtual

void

_area_set_shape_disabled(area: RID, shape_idx: int, disabled: bool) virtual

void

_area_set_shape_transform(area: RID, shape_idx: int, transform: Transform2D) virtual

void

_area_set_space(area: RID, space: RID) virtual

void

_area_set_transform(area: RID, transform: Transform2D) virtual

void

_body_add_collision_exception(body: RID, excepted_body: RID) virtual

void

_body_add_constant_central_force(body: RID, force: Vector2) virtual

void

_body_add_constant_force(body: RID, force: Vector2, position: Vector2) virtual

void

_body_add_constant_torque(body: RID, torque: float) virtual

void

_body_add_shape(body: RID, shape: RID, transform: Transform2D, disabled: bool) virtual

void

_body_apply_central_force(body: RID, force: Vector2) virtual

void

_body_apply_central_impulse(body: RID, impulse: Vector2) virtual

void

_body_apply_force(body: RID, force: Vector2, position: Vector2) virtual

void

_body_apply_impulse(body: RID, impulse: Vector2, position: Vector2) virtual

void

_body_apply_torque(body: RID, torque: float) virtual

void

_body_apply_torque_impulse(body: RID, impulse: float) virtual

void

_body_attach_canvas_instance_id(body: RID, id: int) virtual

void

_body_attach_object_instance_id(body: RID, id: int) virtual

void

_body_clear_shapes(body: RID) virtual

bool

_body_collide_shape(body: RID, body_shape: int, shape: RID, shape_xform: Transform2D, motion: Vector2, results: void*, result_max: int, result_count: int32_t*) virtual

RID

_body_create() virtual

int

_body_get_canvas_instance_id(body: RID) virtual const

Array[RID]

_body_get_collision_exceptions(body: RID) virtual const

int

_body_get_collision_layer(body: RID) virtual const

int

_body_get_collision_mask(body: RID) virtual const

float

_body_get_collision_priority(body: RID) virtual const

Vector2

_body_get_constant_force(body: RID) virtual const

float

_body_get_constant_torque(body: RID) virtual const

float

_body_get_contacts_reported_depth_threshold(body: RID) virtual const

CCDMode

_body_get_continuous_collision_detection_mode(body: RID) virtual const

PhysicsDirectBodyState2D

_body_get_direct_state(body: RID) virtual

int

_body_get_max_contacts_reported(body: RID) virtual const

BodyMode

_body_get_mode(body: RID) virtual const

int

_body_get_object_instance_id(body: RID) virtual const

Variant

_body_get_param(body: RID, param: BodyParameter) virtual const

RID

_body_get_shape(body: RID, shape_idx: int) virtual const

int

_body_get_shape_count(body: RID) virtual const

Transform2D

_body_get_shape_transform(body: RID, shape_idx: int) virtual const

RID

_body_get_space(body: RID) virtual const

Variant

_body_get_state(body: RID, state: BodyState) virtual const

bool

_body_is_omitting_force_integration(body: RID) virtual const

void

_body_remove_collision_exception(body: RID, excepted_body: RID) virtual

void

_body_remove_shape(body: RID, shape_idx: int) virtual

void

_body_reset_mass_properties(body: RID) virtual

void

_body_set_axis_velocity(body: RID, axis_velocity: Vector2) virtual

void

_body_set_collision_layer(body: RID, layer: int) virtual

void

_body_set_collision_mask(body: RID, mask: int) virtual

void

_body_set_collision_priority(body: RID, priority: float) virtual

void

_body_set_constant_force(body: RID, force: Vector2) virtual

void

_body_set_constant_torque(body: RID, torque: float) virtual

void

_body_set_contacts_reported_depth_threshold(body: RID, threshold: float) virtual

void

_body_set_continuous_collision_detection_mode(body: RID, mode: CCDMode) virtual

void

_body_set_force_integration_callback(body: RID, callable: Callable, userdata: Variant) virtual

void

_body_set_max_contacts_reported(body: RID, amount: int) virtual

void

_body_set_mode(body: RID, mode: BodyMode) virtual

void

_body_set_omit_force_integration(body: RID, enable: bool) virtual

void

_body_set_param(body: RID, param: BodyParameter, value: Variant) virtual

void

_body_set_pickable(body: RID, pickable: bool) virtual

void

_body_set_shape(body: RID, shape_idx: int, shape: RID) virtual

void

_body_set_shape_as_one_way_collision(body: RID, shape_idx: int, enable: bool, margin: float) virtual

void

_body_set_shape_disabled(body: RID, shape_idx: int, disabled: bool) virtual

void

_body_set_shape_transform(body: RID, shape_idx: int, transform: Transform2D) virtual

void

_body_set_space(body: RID, space: RID) virtual

void

_body_set_state(body: RID, state: BodyState, value: Variant) virtual

void

_body_set_state_sync_callback(body: RID, callable: Callable) virtual

bool

_body_test_motion(body: RID, from: Transform2D, motion: Vector2, margin: float, collide_separation_ray: bool, recovery_as_collision: bool, result: PhysicsServer2DExtensionMotionResult*) virtual const

RID

_capsule_shape_create() virtual

RID

_circle_shape_create() virtual

RID

_concave_polygon_shape_create() virtual

RID

_convex_polygon_shape_create() virtual

float

_damped_spring_joint_get_param(joint: RID, param: DampedSpringParam) virtual const

void

_damped_spring_joint_set_param(joint: RID, param: DampedSpringParam, value: float) virtual

void

_end_sync() virtual

void

_finish() virtual

void

_flush_queries() virtual

void

_free_rid(rid: RID) virtual

int

_get_process_info(process_info: ProcessInfo) virtual

void

_init() virtual

bool

_is_flushing_queries() virtual const

void

_joint_clear(joint: RID) virtual

RID

_joint_create() virtual

void

_joint_disable_collisions_between_bodies(joint: RID, disable: bool) virtual

float

_joint_get_param(joint: RID, param: JointParam) virtual const

JointType

_joint_get_type(joint: RID) virtual const

bool

_joint_is_disabled_collisions_between_bodies(joint: RID) virtual const

void

_joint_make_damped_spring(joint: RID, anchor_a: Vector2, anchor_b: Vector2, body_a: RID, body_b: RID) virtual

void

_joint_make_groove(joint: RID, a_groove1: Vector2, a_groove2: Vector2, b_anchor: Vector2, body_a: RID, body_b: RID) virtual

void

_joint_make_pin(joint: RID, anchor: Vector2, body_a: RID, body_b: RID) virtual

void

_joint_set_param(joint: RID, param: JointParam, value: float) virtual

bool

_pin_joint_get_flag(joint: RID, flag: PinJointFlag) virtual const

float

_pin_joint_get_param(joint: RID, param: PinJointParam) virtual const

void

_pin_joint_set_flag(joint: RID, flag: PinJointFlag, enabled: bool) virtual

void

_pin_joint_set_param(joint: RID, param: PinJointParam, value: float) virtual

RID

_rectangle_shape_create() virtual

RID

_segment_shape_create() virtual

RID

_separation_ray_shape_create() virtual

void

_set_active(active: bool) virtual

bool

_shape_collide(shape_A: RID, xform_A: Transform2D, motion_A: Vector2, shape_B: RID, xform_B: Transform2D, motion_B: Vector2, results: void*, result_max: int, result_count: int32_t*) virtual

float

_shape_get_custom_solver_bias(shape: RID) virtual const

Variant

_shape_get_data(shape: RID) virtual const

ShapeType

_shape_get_type(shape: RID) virtual const

void

_shape_set_custom_solver_bias(shape: RID, bias: float) virtual

void

_shape_set_data(shape: RID, data: Variant) virtual

RID

_space_create() virtual

int

_space_get_contact_count(space: RID) virtual const

PackedVector2Array

_space_get_contacts(space: RID) virtual const

PhysicsDirectSpaceState2D

_space_get_direct_state(space: RID) virtual

float

_space_get_param(space: RID, param: SpaceParameter) virtual const

bool

_space_is_active(space: RID) virtual const

void

_space_set_active(space: RID, active: bool) virtual

void

_space_set_debug_contacts(space: RID, max_contacts: int) virtual

void

_space_set_param(space: RID, param: SpaceParameter, value: float) virtual

void

_step(step: float) virtual

void

_sync() virtual

RID

_world_boundary_shape_create() virtual

bool

body_test_motion_is_excluding_body(body: RID) const

bool

body_test_motion_is_excluding_object(object: int) const


Method Descriptionsยถ

void _area_add_shape(area: RID, shape: RID, transform: Transform2D, disabled: bool) virtual

There is currently no description for this method. Please help us by contributing one!


void _area_attach_canvas_instance_id(area: RID, id: int) virtual

There is currently no description for this method. Please help us by contributing one!


void _area_attach_object_instance_id(area: RID, id: int) virtual

There is currently no description for this method. Please help us by contributing one!


void _area_clear_shapes(area: RID) 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_canvas_instance_id(area: RID) virtual const

There is currently no description for this method. Please help us by contributing one!


int _area_get_collision_layer(area: RID) virtual const

There is currently no description for this method. Please help us by contributing one!


int _area_get_collision_mask(area: RID) virtual const

There is currently no description for this method. Please help us by contributing one!


int _area_get_object_instance_id(area: RID) virtual const

There is currently no description for this method. Please help us by contributing one!


Variant _area_get_param(area: RID, param: AreaParameter) virtual const

There is currently no description for this method. Please help us by contributing one!


RID _area_get_shape(area: RID, shape_idx: int) virtual const

There is currently no description for this method. Please help us by contributing one!


int _area_get_shape_count(area: RID) virtual const

There is currently no description for this method. Please help us by contributing one!


Transform2D _area_get_shape_transform(area: RID, shape_idx: int) virtual const

There is currently no description for this method. Please help us by contributing one!


RID _area_get_space(area: RID) virtual const

There is currently no description for this method. Please help us by contributing one!


Transform2D _area_get_transform(area: RID) virtual const

There is currently no description for this method. Please help us by contributing one!


void _area_remove_shape(area: RID, shape_idx: int) virtual

There is currently no description for this method. Please help us by contributing one!


void _area_set_area_monitor_callback(area: RID, callback: Callable) virtual

There is currently no description for this method. Please help us by contributing one!


void _area_set_collision_layer(area: RID, layer: int) virtual

There is currently no description for this method. Please help us by contributing one!


void _area_set_collision_mask(area: RID, mask: int) virtual

There is currently no description for this method. Please help us by contributing one!


void _area_set_monitor_callback(area: RID, callback: Callable) virtual

There is currently no description for this method. Please help us by contributing one!


void _area_set_monitorable(area: RID, monitorable: bool) virtual

There is currently no description for this method. Please help us by contributing one!


void _area_set_param(area: RID, param: AreaParameter, value: Variant) virtual

There is currently no description for this method. Please help us by contributing one!


void _area_set_pickable(area: RID, pickable: bool) virtual

There is currently no description for this method. Please help us by contributing one!


void _area_set_shape(area: RID, shape_idx: int, shape: RID) virtual

There is currently no description for this method. Please help us by contributing one!


void _area_set_shape_disabled(area: RID, shape_idx: int, disabled: bool) virtual

There is currently no description for this method. Please help us by contributing one!


void _area_set_shape_transform(area: RID, shape_idx: int, transform: Transform2D) virtual

There is currently no description for this method. Please help us by contributing one!


void _area_set_space(area: RID, space: RID) virtual

There is currently no description for this method. Please help us by contributing one!


void _area_set_transform(area: RID, transform: Transform2D) virtual

There is currently no description for this method. Please help us by contributing one!


void _body_add_collision_exception(body: RID, excepted_body: RID) virtual

There is currently no description for this method. Please help us by contributing one!


void _body_add_constant_central_force(body: RID, force: Vector2) virtual

There is currently no description for this method. Please help us by contributing one!


void _body_add_constant_force(body: RID, force: Vector2, position: Vector2) virtual

There is currently no description for this method. Please help us by contributing one!


void _body_add_constant_torque(body: RID, torque: float) virtual

There is currently no description for this method. Please help us by contributing one!


void _body_add_shape(body: RID, shape: RID, transform: Transform2D, disabled: bool) virtual

There is currently no description for this method. Please help us by contributing one!


void _body_apply_central_force(body: RID, force: Vector2) virtual

There is currently no description for this method. Please help us by contributing one!


void _body_apply_central_impulse(body: RID, impulse: Vector2) virtual

There is currently no description for this method. Please help us by contributing one!


void _body_apply_force(body: RID, force: Vector2, position: Vector2) virtual

There is currently no description for this method. Please help us by contributing one!


void _body_apply_impulse(body: RID, impulse: Vector2, position: Vector2) virtual

There is currently no description for this method. Please help us by contributing one!


void _body_apply_torque(body: RID, torque: float) virtual

There is currently no description for this method. Please help us by contributing one!


void _body_apply_torque_impulse(body: RID, impulse: float) virtual

There is currently no description for this method. Please help us by contributing one!


void _body_attach_canvas_instance_id(body: RID, id: int) virtual

There is currently no description for this method. Please help us by contributing one!


void _body_attach_object_instance_id(body: RID, id: int) virtual

There is currently no description for this method. Please help us by contributing one!


void _body_clear_shapes(body: RID) virtual

There is currently no description for this method. Please help us by contributing one!


bool _body_collide_shape(body: RID, body_shape: int, shape: RID, shape_xform: Transform2D, motion: Vector2, results: void*, result_max: int, result_count: int32_t*) 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!


int _body_get_canvas_instance_id(body: RID) virtual const

There is currently no description for this method. Please help us by contributing one!


Array[RID] _body_get_collision_exceptions(body: RID) virtual const

There is currently no description for this method. Please help us by contributing one!


int _body_get_collision_layer(body: RID) virtual const

There is currently no description for this method. Please help us by contributing one!


int _body_get_collision_mask(body: RID) virtual const

There is currently no description for this method. Please help us by contributing one!


float _body_get_collision_priority(body: RID) virtual const

There is currently no description for this method. Please help us by contributing one!


Vector2 _body_get_constant_force(body: RID) virtual const

There is currently no description for this method. Please help us by contributing one!


float _body_get_constant_torque(body: RID) virtual const

There is currently no description for this method. Please help us by contributing one!


float _body_get_contacts_reported_depth_threshold(body: RID) virtual const

There is currently no description for this method. Please help us by contributing one!


CCDMode _body_get_continuous_collision_detection_mode(body: RID) virtual const

There is currently no description for this method. Please help us by contributing one!


PhysicsDirectBodyState2D _body_get_direct_state(body: RID) virtual

There is currently no description for this method. Please help us by contributing one!


int _body_get_max_contacts_reported(body: RID) virtual const

There is currently no description for this method. Please help us by contributing one!


BodyMode _body_get_mode(body: RID) virtual const

There is currently no description for this method. Please help us by contributing one!


int _body_get_object_instance_id(body: RID) virtual const

There is currently no description for this method. Please help us by contributing one!


Variant _body_get_param(body: RID, param: BodyParameter) virtual const

There is currently no description for this method. Please help us by contributing one!


RID _body_get_shape(body: RID, shape_idx: int) virtual const

There is currently no description for this method. Please help us by contributing one!


int _body_get_shape_count(body: RID) virtual const

There is currently no description for this method. Please help us by contributing one!


Transform2D _body_get_shape_transform(body: RID, shape_idx: int) virtual const

There is currently no description for this method. Please help us by contributing one!


RID _body_get_space(body: RID) virtual const

There is currently no description for this method. Please help us by contributing one!


Variant _body_get_state(body: RID, state: BodyState) virtual const

There is currently no description for this method. Please help us by contributing one!


bool _body_is_omitting_force_integration(body: RID) virtual const

There is currently no description for this method. Please help us by contributing one!


void _body_remove_collision_exception(body: RID, excepted_body: RID) virtual

There is currently no description for this method. Please help us by contributing one!


void _body_remove_shape(body: RID, shape_idx: int) virtual

There is currently no description for this method. Please help us by contributing one!


void _body_reset_mass_properties(body: RID) virtual

There is currently no description for this method. Please help us by contributing one!


void _body_set_axis_velocity(body: RID, axis_velocity: Vector2) virtual

There is currently no description for this method. Please help us by contributing one!


void _body_set_collision_layer(body: RID, layer: int) virtual

There is currently no description for this method. Please help us by contributing one!


void _body_set_collision_mask(body: RID, mask: int) virtual

There is currently no description for this method. Please help us by contributing one!


void _body_set_collision_priority(body: RID, priority: float) virtual

There is currently no description for this method. Please help us by contributing one!


void _body_set_constant_force(body: RID, force: Vector2) virtual

There is currently no description for this method. Please help us by contributing one!


void _body_set_constant_torque(body: RID, torque: float) virtual

There is currently no description for this method. Please help us by contributing one!


void _body_set_contacts_reported_depth_threshold(body: RID, threshold: float) virtual

There is currently no description for this method. Please help us by contributing one!


void _body_set_continuous_collision_detection_mode(body: RID, mode: CCDMode) virtual

There is currently no description for this method. Please help us by contributing one!


void _body_set_force_integration_callback(body: RID, callable: Callable, userdata: Variant) virtual

There is currently no description for this method. Please help us by contributing one!


void _body_set_max_contacts_reported(body: RID, amount: int) virtual

There is currently no description for this method. Please help us by contributing one!


void _body_set_mode(body: RID, mode: BodyMode) virtual

There is currently no description for this method. Please help us by contributing one!


void _body_set_omit_force_integration(body: RID, enable: bool) virtual

There is currently no description for this method. Please help us by contributing one!


void _body_set_param(body: RID, param: BodyParameter, value: Variant) virtual

There is currently no description for this method. Please help us by contributing one!


void _body_set_pickable(body: RID, pickable: bool) virtual

There is currently no description for this method. Please help us by contributing one!


void _body_set_shape(body: RID, shape_idx: int, shape: RID) virtual

There is currently no description for this method. Please help us by contributing one!


void _body_set_shape_as_one_way_collision(body: RID, shape_idx: int, enable: bool, margin: float) virtual

There is currently no description for this method. Please help us by contributing one!


void _body_set_shape_disabled(body: RID, shape_idx: int, disabled: bool) virtual

There is currently no description for this method. Please help us by contributing one!


void _body_set_shape_transform(body: RID, shape_idx: int, transform: Transform2D) virtual

There is currently no description for this method. Please help us by contributing one!


void _body_set_space(body: RID, space: RID) virtual

There is currently no description for this method. Please help us by contributing one!


void _body_set_state(body: RID, state: BodyState, value: Variant) virtual

There is currently no description for this method. Please help us by contributing one!


void _body_set_state_sync_callback(body: RID, callable: Callable) virtual

There is currently no description for this method. Please help us by contributing one!


bool _body_test_motion(body: RID, from: Transform2D, motion: Vector2, margin: float, collide_separation_ray: bool, recovery_as_collision: bool, result: PhysicsServer2DExtensionMotionResult*) virtual const

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 _circle_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!


RID _convex_polygon_shape_create() virtual

There is currently no description for this method. Please help us by contributing one!


float _damped_spring_joint_get_param(joint: RID, param: DampedSpringParam) virtual const

There is currently no description for this method. Please help us by contributing one!


void _damped_spring_joint_set_param(joint: RID, param: DampedSpringParam, value: float) 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!


int _get_process_info(process_info: ProcessInfo) 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(joint: RID) 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(joint: RID, disable: bool) virtual

There is currently no description for this method. Please help us by contributing one!


float _joint_get_param(joint: RID, param: JointParam) virtual const

There is currently no description for this method. Please help us by contributing one!


JointType _joint_get_type(joint: RID) virtual const

There is currently no description for this method. Please help us by contributing one!


bool _joint_is_disabled_collisions_between_bodies(joint: RID) virtual const

There is currently no description for this method. Please help us by contributing one!


void _joint_make_damped_spring(joint: RID, anchor_a: Vector2, anchor_b: Vector2, body_a: RID, body_b: RID) virtual

There is currently no description for this method. Please help us by contributing one!


void _joint_make_groove(joint: RID, a_groove1: Vector2, a_groove2: Vector2, b_anchor: Vector2, body_a: RID, body_b: RID) virtual

There is currently no description for this method. Please help us by contributing one!


void _joint_make_pin(joint: RID, anchor: Vector2, body_a: RID, body_b: RID) virtual

There is currently no description for this method. Please help us by contributing one!


void _joint_set_param(joint: RID, param: JointParam, value: float) virtual

There is currently no description for this method. Please help us by contributing one!


bool _pin_joint_get_flag(joint: RID, flag: PinJointFlag) virtual const

There is currently no description for this method. Please help us by contributing one!


float _pin_joint_get_param(joint: RID, param: PinJointParam) virtual const

There is currently no description for this method. Please help us by contributing one!


void _pin_joint_set_flag(joint: RID, flag: PinJointFlag, enabled: bool) virtual

There is currently no description for this method. Please help us by contributing one!


void _pin_joint_set_param(joint: RID, param: PinJointParam, value: float) virtual

There is currently no description for this method. Please help us by contributing one!


RID _rectangle_shape_create() virtual

There is currently no description for this method. Please help us by contributing one!


RID _segment_shape_create() 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(active: bool) virtual

There is currently no description for this method. Please help us by contributing one!


bool _shape_collide(shape_A: RID, xform_A: Transform2D, motion_A: Vector2, shape_B: RID, xform_B: Transform2D, motion_B: Vector2, results: void*, result_max: int, result_count: int32_t*) virtual

There is currently no description for this method. Please help us by contributing one!


float _shape_get_custom_solver_bias(shape: RID) virtual const

There is currently no description for this method. Please help us by contributing one!


Variant _shape_get_data(shape: RID) virtual const

There is currently no description for this method. Please help us by contributing one!


ShapeType _shape_get_type(shape: RID) virtual const

There is currently no description for this method. Please help us by contributing one!


void _shape_set_custom_solver_bias(shape: RID, bias: float) virtual

There is currently no description for this method. Please help us by contributing one!


void _shape_set_data(shape: RID, data: Variant) 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(space: RID) virtual const

There is currently no description for this method. Please help us by contributing one!


PackedVector2Array _space_get_contacts(space: RID) virtual const

There is currently no description for this method. Please help us by contributing one!


PhysicsDirectSpaceState2D _space_get_direct_state(space: RID) virtual

There is currently no description for this method. Please help us by contributing one!


float _space_get_param(space: RID, param: SpaceParameter) virtual const

There is currently no description for this method. Please help us by contributing one!


bool _space_is_active(space: RID) virtual const

There is currently no description for this method. Please help us by contributing one!


void _space_set_active(space: RID, active: bool) virtual

There is currently no description for this method. Please help us by contributing one!


void _space_set_debug_contacts(space: RID, max_contacts: int) virtual

There is currently no description for this method. Please help us by contributing one!


void _space_set_param(space: RID, param: SpaceParameter, value: float) virtual

There is currently no description for this method. Please help us by contributing one!


void _step(step: float) 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(body: RID) const

There is currently no description for this method. Please help us by contributing one!


bool body_test_motion_is_excluding_object(object: int) const

There is currently no description for this method. Please help us by contributing one!


User-contributed notes

Please read the User-contributed notes policy before submitting a comment.