Inheritance #

Table of contents

PhysicsDirectSpaceState2DExtension #

is_instantiable, core, not_builtin_classes

Provides virtual methods that can be overridden to create custom PhysicsDirectSpaceState2D implementations.

This class extends PhysicsDirectSpaceState2D 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 PhysicsDirectSpaceState2D.

Members #

Methods #

virtual func _cast_motion(closest_unsafe: float*) -> bool#

virtual func _collide_shape(result_count: int32_t*) -> bool#

virtual func _intersect_point(max_results: int) -> int#

virtual func _intersect_ray(result: PhysicsServer2DExtensionRayResult*) -> bool#

virtual func _intersect_shape(max_results: int) -> int#

virtual func _rest_info(rest_info: PhysicsServer2DExtensionShapeRestInfo*) -> bool#

const func is_body_excluded_from_query(body: RID) -> bool#

Annotations #

Constants #

Constructors #

Enums #

Operators #

Signals #

Theme Items #

Tutorials #