PhysicsDirectSpaceState3DExtension
继承: PhysicsDirectSpaceState3D
< Object
Provides virtual methods that can be overridden to create custom PhysicsDirectSpaceState3D
implementations.
描述
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
.
方法
bool | _cast_motion ( shape_rid: RID , transform: Transform3D , motion: Vector3 , margin: float , collision_mask: int , collide_with_bodies: bool , collide_with_areas: bool , closest_safe: float* , closest_unsafe: float* , info: PhysicsServer3DExtensionShapeRestInfo* ) virtual1 |
bool | _collide_shape ( shape_rid: RID , transform: Transform3D , motion: Vector3 , margin: float , collision_mask: int , collide_with_bodies: bool , collide_with_areas: bool , results: void* , max_results: int , result_count: int32_t* ) virtual1 |
Vector3 | _get_closest_point_to_object_volume ( object: RID , point: Vector3 ) virtual1 const2 |
int | _intersect_point ( position: Vector3 , collision_mask: int , collide_with_bodies: bool , collide_with_areas: bool , results: PhysicsServer3DExtensionShapeResult* , max_results: int ) virtual1 |
bool | _intersect_ray ( from: Vector3 , to: Vector3 , collision_mask: int , collide_with_bodies: bool , collide_with_areas: bool , hit_from_inside: bool , hit_back_faces: bool , pick_ray: bool , result: PhysicsServer3DExtensionRayResult* ) virtual1 |
int | _intersect_shape ( shape_rid: RID , transform: Transform3D , motion: Vector3 , margin: float , collision_mask: int , collide_with_bodies: bool , collide_with_areas: bool , result_count: PhysicsServer3DExtensionShapeResult* , max_results: int ) virtual1 |
bool | _rest_info ( shape_rid: RID , transform: Transform3D , motion: Vector3 , margin: float , collision_mask: int , collide_with_bodies: bool , collide_with_areas: bool , rest_info: PhysicsServer3DExtensionShapeRestInfo* ) virtual1 |
bool | is_body_excluded_from_query ( body: RID ) const2 |
方法说明
bool
_cast_motion ( shape_rid: RID
, transform: Transform3D
, motion: Vector3
, margin: float
, collision_mask: int
, collide_with_bodies: bool
, collide_with_areas: bool
, closest_safe: float*
, closest_unsafe: float*
, info: PhysicsServer3DExtensionShapeRestInfo*
) virtual1
该方法目前没有描述,请帮我们\ :ref:贡献一个 <doc_updating_the_class_reference>
\ 吧!
bool
_collide_shape ( shape_rid: RID
, transform: Transform3D
, motion: Vector3
, margin: float
, collision_mask: int
, collide_with_bodies: bool
, collide_with_areas: bool
, results: void*
, max_results: int
, result_count: int32_t*
) virtual1
该方法目前没有描述,请帮我们\ :ref:贡献一个 <doc_updating_the_class_reference>
\ 吧!
Vector3
_get_closest_point_to_object_volume ( object: RID
, point: Vector3
) virtual1 const2
该方法目前没有描述,请帮我们\ :ref:贡献一个 <doc_updating_the_class_reference>
\ 吧!
int
_intersect_point ( position: Vector3
, collision_mask: int
, collide_with_bodies: bool
, collide_with_areas: bool
, results: PhysicsServer3DExtensionShapeResult*
, max_results: int
) virtual1
该方法目前没有描述,请帮我们\ :ref:贡献一个 <doc_updating_the_class_reference>
\ 吧!
bool
_intersect_ray ( from: Vector3
, to: Vector3
, collision_mask: int
, collide_with_bodies: bool
, collide_with_areas: bool
, hit_from_inside: bool
, hit_back_faces: bool
, pick_ray: bool
, result: PhysicsServer3DExtensionRayResult*
) virtual1
该方法目前没有描述,请帮我们\ :ref:贡献一个 <doc_updating_the_class_reference>
\ 吧!
int
_intersect_shape ( shape_rid: RID
, transform: Transform3D
, motion: Vector3
, margin: float
, collision_mask: int
, collide_with_bodies: bool
, collide_with_areas: bool
, result_count: PhysicsServer3DExtensionShapeResult*
, max_results: int
) virtual1
该方法目前没有描述,请帮我们\ :ref:贡献一个 <doc_updating_the_class_reference>
\ 吧!
bool
_rest_info ( shape_rid: RID
, transform: Transform3D
, motion: Vector3
, margin: float
, collision_mask: int
, collide_with_bodies: bool
, collide_with_areas: bool
, rest_info: PhysicsServer3DExtensionShapeRestInfo*
) virtual1
该方法目前没有描述,请帮我们\ :ref:贡献一个 <doc_updating_the_class_reference>
\ 吧!
bool
is_body_excluded_from_query ( body: RID
) const2
该方法目前没有描述,请帮我们\ :ref:贡献一个 <doc_updating_the_class_reference>
\ 吧!
本方法通常需要用户覆盖才能生效。
本方法无副作用,不会修改该实例的任何成员变量。
本方法除了能接受在此处描述的参数外,还能够继续接受任意数量的参数。
本方法用于构造某个类型。
调用本方法无需实例,可直接使用类名进行调用。
本方法描述的是使用本类型作为左操作数的有效运算符。
这个值是由下列位标志构成位掩码的整数。
无返回值。