Attention

You are reading the latest (unstable) version of this documentation, which may document features not available or compatible with Godot 3.x.

Work in progress

Godot documentation is being updated to reflect the latest changes in version 4.0. Some documentation pages may still state outdated information. This banner will tell you if you're reading one of such pages.

The contents of this page are up to date. If you can still find outdated information, please open an issue.

PhysicsDirectSpaceState3DExtension

Inherits: PhysicsDirectSpaceState3D < Object

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

Methods

bool

_cast_motion ( RID shape_rid, Transform3D transform, Vector3 motion, float margin, int collision_mask, bool collide_with_bodies, bool collide_with_areas, float* closest_safe, float* closest_unsafe, PhysicsServer3DExtensionShapeRestInfo* info ) virtual

bool

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

Vector3

_get_closest_point_to_object_volume ( RID object, Vector3 point ) virtual const

int

_intersect_point ( Vector3 position, int collision_mask, bool collide_with_bodies, bool collide_with_areas, PhysicsServer3DExtensionShapeResult* results, int max_results ) virtual

bool

_intersect_ray ( Vector3 from, Vector3 to, int collision_mask, bool collide_with_bodies, bool collide_with_areas, bool hit_from_inside, bool hit_back_faces, PhysicsServer3DExtensionRayResult* result ) virtual

int

_intersect_shape ( RID shape_rid, Transform3D transform, Vector3 motion, float margin, int collision_mask, bool collide_with_bodies, bool collide_with_areas, PhysicsServer3DExtensionShapeResult* result_count, int max_results ) virtual

bool

_rest_info ( RID shape_rid, Transform3D transform, Vector3 motion, float margin, int collision_mask, bool collide_with_bodies, bool collide_with_areas, PhysicsServer3DExtensionShapeRestInfo* rest_info ) virtual

bool

is_body_excluded_from_query ( RID body ) const


Method Descriptions

bool _cast_motion ( RID shape_rid, Transform3D transform, Vector3 motion, float margin, int collision_mask, bool collide_with_bodies, bool collide_with_areas, float* closest_safe, float* closest_unsafe, PhysicsServer3DExtensionShapeRestInfo* info ) virtual

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


bool _collide_shape ( RID shape_rid, Transform3D transform, Vector3 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!


Vector3 _get_closest_point_to_object_volume ( RID object, Vector3 point ) virtual const

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


int _intersect_point ( Vector3 position, int collision_mask, bool collide_with_bodies, bool collide_with_areas, PhysicsServer3DExtensionShapeResult* results, int max_results ) virtual

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


bool _intersect_ray ( Vector3 from, Vector3 to, int collision_mask, bool collide_with_bodies, bool collide_with_areas, bool hit_from_inside, bool hit_back_faces, PhysicsServer3DExtensionRayResult* result ) virtual

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


int _intersect_shape ( RID shape_rid, Transform3D transform, Vector3 motion, float margin, int collision_mask, bool collide_with_bodies, bool collide_with_areas, PhysicsServer3DExtensionShapeResult* result_count, int max_results ) virtual

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


bool _rest_info ( RID shape_rid, Transform3D transform, Vector3 motion, float margin, int collision_mask, bool collide_with_bodies, bool collide_with_areas, PhysicsServer3DExtensionShapeRestInfo* 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!