PhysicsServer2DExtension

Inherits: PhysicsServer2D < Object

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

Methods

void

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

void

_area_attach_canvas_instance_id ( RID area, int id ) virtual

void

_area_attach_object_instance_id ( RID area, int id ) virtual

void

_area_clear_shapes ( RID area ) virtual

RID

_area_create ( ) virtual

int

_area_get_canvas_instance_id ( RID area ) virtual const

int

_area_get_collision_layer ( RID area ) virtual const

int

_area_get_collision_mask ( RID area ) virtual const

int

_area_get_object_instance_id ( RID area ) virtual const

Variant

_area_get_param ( RID area, AreaParameter param ) virtual const

RID

_area_get_shape ( RID area, int shape_idx ) virtual const

int

_area_get_shape_count ( RID area ) virtual const

Transform2D

_area_get_shape_transform ( RID area, int shape_idx ) virtual const

RID

_area_get_space ( RID area ) virtual const

Transform2D

_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_pickable ( RID area, bool pickable ) 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, Transform2D transform ) virtual

void

_area_set_space ( RID area, RID space ) virtual

void

_area_set_transform ( RID area, Transform2D transform ) virtual

void

_body_add_collision_exception ( RID body, RID excepted_body ) virtual

void

_body_add_constant_central_force ( RID body, Vector2 force ) virtual

void

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

void

_body_add_constant_torque ( RID body, float torque ) virtual

void

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

void

_body_apply_central_force ( RID body, Vector2 force ) virtual

void

_body_apply_central_impulse ( RID body, Vector2 impulse ) virtual

void

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

void

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

void

_body_apply_torque ( RID body, float torque ) virtual

void

_body_apply_torque_impulse ( RID body, float impulse ) virtual

void

_body_attach_canvas_instance_id ( RID body, int id ) virtual

void

_body_attach_object_instance_id ( RID body, int id ) virtual

void

_body_clear_shapes ( RID body ) virtual

bool

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

RID

_body_create ( ) virtual

int

_body_get_canvas_instance_id ( RID body ) virtual const

RID[]

_body_get_collision_exceptions ( RID body ) virtual const

int

_body_get_collision_layer ( RID body ) virtual const

int

_body_get_collision_mask ( RID body ) virtual const

float

_body_get_collision_priority ( RID body ) virtual const

Vector2

_body_get_constant_force ( RID body ) virtual const

float

_body_get_constant_torque ( RID body ) virtual const

float

_body_get_contacts_reported_depth_threshold ( RID body ) virtual const

CCDMode

_body_get_continuous_collision_detection_mode ( RID body ) virtual const

PhysicsDirectBodyState2D

_body_get_direct_state ( RID body ) virtual

int

_body_get_max_contacts_reported ( RID body ) virtual const

BodyMode

_body_get_mode ( RID body ) virtual const

int

_body_get_object_instance_id ( RID body ) virtual const

Variant

_body_get_param ( RID body, BodyParameter param ) virtual const

RID

_body_get_shape ( RID body, int shape_idx ) virtual const

int

_body_get_shape_count ( RID body ) virtual const

Transform2D

_body_get_shape_transform ( RID body, int shape_idx ) virtual const

RID

_body_get_space ( RID body ) virtual const

Variant

_body_get_state ( RID body, BodyState state ) virtual const

bool

_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

_body_set_axis_velocity ( RID body, Vector2 axis_velocity ) virtual

void

_body_set_collision_layer ( RID body, int layer ) virtual

void

_body_set_collision_mask ( RID body, int mask ) virtual

void

_body_set_collision_priority ( RID body, float priority ) virtual

void

_body_set_constant_force ( RID body, Vector2 force ) virtual

void

_body_set_constant_torque ( RID body, float torque ) virtual

void

_body_set_contacts_reported_depth_threshold ( RID body, float threshold ) virtual

void

_body_set_continuous_collision_detection_mode ( RID body, CCDMode mode ) virtual

void

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

void

_body_set_max_contacts_reported ( RID body, int amount ) virtual

void

_body_set_mode ( RID body, BodyMode mode ) virtual

void

_body_set_omit_force_integration ( RID body, bool enable ) virtual

void

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

void

_body_set_pickable ( RID body, bool pickable ) virtual

void

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

void

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

void

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

void

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

void

_body_set_space ( RID body, RID space ) virtual

void

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

void

_body_set_state_sync_callback ( RID body, Callable callable ) virtual

bool

_body_test_motion ( RID body, Transform2D from, Vector2 motion, float margin, bool collide_separation_ray, bool recovery_as_collision, PhysicsServer2DExtensionMotionResult* result ) 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 ( RID joint, DampedSpringParam param ) virtual const

void

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

void

_end_sync ( ) virtual

void

_finish ( ) virtual

void

_flush_queries ( ) virtual

void

_free_rid ( RID rid ) virtual

int

_get_process_info ( ProcessInfo process_info ) virtual

void

_init ( ) virtual

bool

_is_flushing_queries ( ) virtual const

void

_joint_clear ( RID joint ) virtual

RID

_joint_create ( ) virtual

void

_joint_disable_collisions_between_bodies ( RID joint, bool disable ) virtual

float

_joint_get_param ( RID joint, JointParam param ) virtual const

JointType

_joint_get_type ( RID joint ) virtual const

bool

_joint_is_disabled_collisions_between_bodies ( RID joint ) virtual const

void

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

void

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

void

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

void

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

float

_pin_joint_get_param ( RID joint, PinJointParam param ) virtual const

void

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

RID

_rectangle_shape_create ( ) virtual

RID

_segment_shape_create ( ) virtual

RID

_separation_ray_shape_create ( ) virtual

void

_set_active ( bool active ) virtual

bool

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

float

_shape_get_custom_solver_bias ( RID shape ) virtual const

Variant

_shape_get_data ( RID shape ) virtual const

ShapeType

_shape_get_type ( RID shape ) virtual const

void

_shape_set_custom_solver_bias ( RID shape, float bias ) virtual

void

_shape_set_data ( RID shape, Variant data ) virtual

RID

_space_create ( ) virtual

int

_space_get_contact_count ( RID space ) virtual const

PackedVector2Array

_space_get_contacts ( RID space ) virtual const

PhysicsDirectSpaceState2D

_space_get_direct_state ( RID space ) virtual

float

_space_get_param ( RID space, SpaceParameter param ) virtual const

bool

_space_is_active ( RID space ) virtual const

void

_space_set_active ( RID space, bool active ) virtual

void

_space_set_debug_contacts ( RID space, int max_contacts ) virtual

void

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

void

_step ( float step ) virtual

void

_sync ( ) virtual

RID

_world_boundary_shape_create ( ) virtual


Method Descriptions

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

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


void _area_attach_canvas_instance_id ( RID area, int id ) 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_canvas_instance_id ( RID area ) virtual const

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!


Transform2D _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!


Transform2D _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