Up to date

This page is up to date for Godot 4.0. If you still find outdated information, please open an issue.

PhysicsDirectSpaceState2DExtension

Inherits: PhysicsDirectSpaceState2D < Object

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

Methods

bool

_cast_motion ( RID shape_rid, Transform2D transform, Vector2 motion, float margin, int collision_mask, bool collide_with_bodies, bool collide_with_areas, float closest_safe, float closest_unsafe ) virtual

bool

_collide_shape ( RID shape_rid, Transform2D transform, Vector2 motion, float margin, int collision_mask, bool collide_with_bodies, bool collide_with_areas, void results, int max_results, int32_t result_count ) virtual

int

_intersect_point ( Vector2 position, int canvas_instance_id, int collision_mask, bool collide_with_bodies, bool collide_with_areas, PhysicsServer2DExtensionShapeResult results, int max_results ) virtual

bool

_intersect_ray ( Vector2 from, Vector2 to, int collision_mask, bool collide_with_bodies, bool collide_with_areas, bool hit_from_inside, PhysicsServer2DExtensionRayResult result ) virtual

int

_intersect_shape ( RID shape_rid, Transform2D transform, Vector2 motion, float margin, int collision_mask, bool collide_with_bodies, bool collide_with_areas, PhysicsServer2DExtensionShapeResult result, int max_results ) virtual

bool

_rest_info ( RID shape_rid, Transform2D transform, Vector2 motion, float margin, int collision_mask, bool collide_with_bodies, bool collide_with_areas, PhysicsServer2DExtensionShapeRestInfo rest_info ) virtual

bool

is_body_excluded_from_query ( RID body ) const


Method Descriptions

bool _cast_motion ( RID shape_rid, Transform2D transform, Vector2 motion, float margin, int collision_mask, bool collide_with_bodies, bool collide_with_areas, float* closest_safe, float* closest_unsafe ) virtual

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


bool _collide_shape ( RID shape_rid, Transform2D transform, Vector2 motion, float margin, int collision_mask, bool collide_with_bodies, bool collide_with_areas, void* results, int max_results, int32_t* result_count ) virtual

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


int _intersect_point ( Vector2 position, int canvas_instance_id, int collision_mask, bool collide_with_bodies, bool collide_with_areas, PhysicsServer2DExtensionShapeResult* results, int max_results ) virtual

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


bool _intersect_ray ( Vector2 from, Vector2 to, int collision_mask, bool collide_with_bodies, bool collide_with_areas, bool hit_from_inside, PhysicsServer2DExtensionRayResult* result ) virtual

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


int _intersect_shape ( RID shape_rid, Transform2D transform, Vector2 motion, float margin, int collision_mask, bool collide_with_bodies, bool collide_with_areas, PhysicsServer2DExtensionShapeResult* result, int max_results ) virtual

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


bool _rest_info ( RID shape_rid, Transform2D transform, Vector2 motion, float margin, int collision_mask, bool collide_with_bodies, bool collide_with_areas, PhysicsServer2DExtensionShapeRestInfo* rest_info ) virtual

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


bool is_body_excluded_from_query ( RID body ) const

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