PhysicsDirectSpaceState

Inherits: Object

Category: Core

Brief Description

Member Functions

Array cast_motion ( PhysicsShapeQueryParameters shape, Vector3 motion )
Array collide_shape ( PhysicsShapeQueryParameters shape, int max_results=null )
Dictionary get_rest_info ( PhysicsShapeQueryParameters shape )
Dictionary intersect_ray ( Vector3 from, Vector3 to, Array exclude=[ ], int collision_layer=null, int type_mask=null )
Array intersect_shape ( PhysicsShapeQueryParameters shape, int max_results=null )

Numeric Constants

  • TYPE_MASK_STATIC_BODY = 1
  • TYPE_MASK_KINEMATIC_BODY = 2
  • TYPE_MASK_RIGID_BODY = 4
  • TYPE_MASK_CHARACTER_BODY = 8
  • TYPE_MASK_AREA = 16
  • TYPE_MASK_COLLISION = 15

Member Function Description