class

Godot::PhysicsServer2D

Inherits Godot::Object < Reference < Object

Godot PhysicsServer2D singleton (PhysicsServer2D).

Constructors

instance
Source
new(pointer : Pointer(Void) = Pointer(Void).null)
Source

Class methods

singleton_ptr
Source

Instance methods

area_add_shape(area : Int64, shape : Int64, transform : Transform2D, disabled : Bool) : Void
Source
area_attach_canvas_instance_id(area : Int64, id : Int64) : Void
Source
area_attach_object_instance_id(area : Int64, id : Int64) : Void
Source
area_clear_shapes(area : Int64) : Void
Source
area_create
Source
area_get_canvas_instance_id(area : Int64) : Int64
Source
area_get_collision_layer(area : Int64) : Int64
Source
area_get_collision_mask(area : Int64) : Int64
Source
area_get_object_instance_id(area : Int64) : Int64
Source
area_get_param(area : Int64, param : Int64) : Pointer(Void)
Source
area_get_shape(area : Int64, shape_idx : Int64) : Int64
Source
area_get_shape_count(area : Int64) : Int64
Source
area_get_shape_transform(area : Int64, shape_idx : Int64) : Transform2D
Source
area_get_space(area : Int64) : Int64
Source
area_get_transform(area : Int64) : Transform2D
Source
area_remove_shape(area : Int64, shape_idx : Int64) : Void
Source
area_set_area_monitor_callback(area : Int64, callback : Pointer(Void)) : Void
Source
area_set_collision_layer(area : Int64, layer : Int64) : Void
Source
area_set_collision_mask(area : Int64, mask : Int64) : Void
Source
area_set_monitor_callback(area : Int64, callback : Pointer(Void)) : Void
Source
area_set_monitorable(area : Int64, monitorable : Bool) : Void
Source
area_set_param(area : Int64, param : Int64, value : Pointer(Void)) : Void
Source
area_set_shape(area : Int64, shape_idx : Int64, shape : Int64) : Void
Source
area_set_shape_disabled(area : Int64, shape_idx : Int64, disabled : Bool) : Void
Source
area_set_shape_transform(area : Int64, shape_idx : Int64, transform : Transform2D) : Void
Source
area_set_space(area : Int64, space : Int64) : Void
Source
area_set_transform(area : Int64, transform : Transform2D) : Void
Source
body_add_collision_exception(body : Int64, excepted_body : Int64) : Void
Source
body_add_constant_central_force(body : Int64, force : Vector2) : Void
Source
body_add_constant_force(body : Int64, force : Vector2, position : Vector2) : Void
Source
body_add_constant_torque(body : Int64, torque : Float64) : Void
Source
body_add_shape(body : Int64, shape : Int64, transform : Transform2D, disabled : Bool) : Void
Source
body_apply_central_force(body : Int64, force : Vector2) : Void
Source
body_apply_central_impulse(body : Int64, impulse : Vector2) : Void
Source
body_apply_force(body : Int64, force : Vector2, position : Vector2) : Void
Source
body_apply_impulse(body : Int64, impulse : Vector2, position : Vector2) : Void
Source
body_apply_torque(body : Int64, torque : Float64) : Void
Source
body_apply_torque_impulse(body : Int64, impulse : Float64) : Void
Source
body_attach_canvas_instance_id(body : Int64, id : Int64) : Void
Source
body_attach_object_instance_id(body : Int64, id : Int64) : Void
Source
body_clear_shapes(body : Int64) : Void
Source
body_create
Source
body_get_canvas_instance_id(body : Int64) : Int64
Source
body_get_collision_layer(body : Int64) : Int64
Source
body_get_collision_mask(body : Int64) : Int64
Source
body_get_collision_priority(body : Int64) : Float64
Source
body_get_constant_force(body : Int64) : Vector2
Source
body_get_constant_torque(body : Int64) : Float64
Source
body_get_continuous_collision_detection_mode(body : Int64) : Int64
Source
body_get_direct_state(body : Int64) : PhysicsDirectBodyState2D
Source
body_get_max_contacts_reported(body : Int64) : Int64
Source
body_get_mode(body : Int64) : Int64
Source
body_get_object_instance_id(body : Int64) : Int64
Source
body_get_param(body : Int64, param : Int64) : Pointer(Void)
Source
body_get_shape(body : Int64, shape_idx : Int64) : Int64
Source
body_get_shape_count(body : Int64) : Int64
Source
body_get_shape_transform(body : Int64, shape_idx : Int64) : Transform2D
Source
body_get_space(body : Int64) : Int64
Source
body_get_state(body : Int64, state : Int64) : Pointer(Void)
Source
body_is_omitting_force_integration(body : Int64) : Bool
Source
body_remove_collision_exception(body : Int64, excepted_body : Int64) : Void
Source
body_remove_shape(body : Int64, shape_idx : Int64) : Void
Source
body_reset_mass_properties(body : Int64) : Void
Source
body_set_axis_velocity(body : Int64, axis_velocity : Vector2) : Void
Source
body_set_collision_layer(body : Int64, layer : Int64) : Void
Source
body_set_collision_mask(body : Int64, mask : Int64) : Void
Source
body_set_collision_priority(body : Int64, priority : Float64) : Void
Source
body_set_constant_force(body : Int64, force : Vector2) : Void
Source
body_set_constant_torque(body : Int64, torque : Float64) : Void
Source
body_set_continuous_collision_detection_mode(body : Int64, mode : Int64) : Void
Source
body_set_force_integration_callback(body : Int64, callable : Pointer(Void), userdata : Pointer(Void)) : Void
Source
body_set_max_contacts_reported(body : Int64, amount : Int64) : Void
Source
body_set_mode(body : Int64, mode : Int64) : Void
Source
body_set_omit_force_integration(body : Int64, enable : Bool) : Void
Source
body_set_param(body : Int64, param : Int64, value : Pointer(Void)) : Void
Source
body_set_shape(body : Int64, shape_idx : Int64, shape : Int64) : Void
Source
body_set_shape_as_one_way_collision(body : Int64, shape_idx : Int64, enable : Bool, margin : Float64, direction : Vector2) : Void
Source
body_set_shape_disabled(body : Int64, shape_idx : Int64, disabled : Bool) : Void
Source
body_set_shape_transform(body : Int64, shape_idx : Int64, transform : Transform2D) : Void
Source
body_set_space(body : Int64, space : Int64) : Void
Source
body_set_state(body : Int64, state : Int64, value : Pointer(Void)) : Void
Source
body_set_state_sync_callback(body : Int64, callable : Pointer(Void)) : Void
Source
body_test_motion(body : Int64, parameters : PhysicsTestMotionParameters2D, result : PhysicsTestMotionResult2D) : Bool
Source
capsule_shape_create
Source
circle_shape_create
Source
concave_polygon_shape_create
Source
convex_polygon_shape_create
Source
damped_spring_joint_get_param(joint : Int64, param : Int64) : Float64
Source
damped_spring_joint_set_param(joint : Int64, param : Int64, value : Float64) : Void
Source
free_rid(rid : Int64) : Void
Source
get_process_info(process_info : Int64) : Int64
Source
joint_clear(joint : Int64) : Void
Source
joint_create
Source
joint_disable_collisions_between_bodies(joint : Int64, disable : Bool) : Void
Source
joint_get_param(joint : Int64, param : Int64) : Float64
Source
joint_get_type(joint : Int64) : Int64
Source
joint_is_disabled_collisions_between_bodies(joint : Int64) : Bool
Source
joint_make_damped_spring(joint : Int64, anchor_a : Vector2, anchor_b : Vector2, body_a : Int64, body_b : Int64) : Void
Source
joint_make_groove(joint : Int64, groove1_a : Vector2, groove2_a : Vector2, anchor_b : Vector2, body_a : Int64, body_b : Int64) : Void
Source
joint_make_pin(joint : Int64, anchor : Vector2, body_a : Int64, body_b : Int64) : Void
Source
joint_set_param(joint : Int64, param : Int64, value : Float64) : Void
Source
pin_joint_get_flag(joint : Int64, flag : Int64) : Bool
Source
pin_joint_get_param(joint : Int64, param : Int64) : Float64
Source
pin_joint_set_flag(joint : Int64, flag : Int64, enabled : Bool) : Void
Source
pin_joint_set_param(joint : Int64, param : Int64, value : Float64) : Void
Source
rectangle_shape_create
Source
segment_shape_create
Source
separation_ray_shape_create
Source
set_active(active : Bool) : Void
Source
shape_get_data(shape : Int64) : Pointer(Void)
Source
shape_get_type(shape : Int64) : Int64
Source
shape_set_data(shape : Int64, data : Pointer(Void)) : Void
Source
space_create
Source
space_get_direct_state(space : Int64) : PhysicsDirectSpaceState2D
Source
space_get_param(space : Int64, param : Int64) : Float64
Source
space_is_active(space : Int64) : Bool
Source
space_set_active(space : Int64, active : Bool) : Void
Source
space_set_param(space : Int64, param : Int64, value : Float64) : Void
Source
world_boundary_shape_create
Source

Nested types