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.
Checking the stable version of the documentation...
PhysicsDirectSpaceState3DExtension¶
Inherits: PhysicsDirectSpaceState3D < Object
Provides virtual methods that can be overridden to create custom PhysicsDirectSpaceState3D implementations.
Description¶
This class extends PhysicsDirectSpaceState3D 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 PhysicsDirectSpaceState3D.
Methods¶
_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 |
|
_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 |
|
_get_closest_point_to_object_volume ( RID object, Vector3 point ) virtual const |
|
_intersect_point ( Vector3 position, int collision_mask, bool collide_with_bodies, bool collide_with_areas, PhysicsServer3DExtensionShapeResult* results, int max_results ) virtual |
|
_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, bool pick_ray, PhysicsServer3DExtensionRayResult* result ) virtual |
|
_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 |
|
_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 |
|
is_body_excluded_from_query ( RID body ) |