W3cubDocs

/Godot 2.1

PhysicsDirectSpaceState

Inherits: Object

Category: Core

Brief Description

Member Functions

Array cast_motion ( PhysicsShapeQueryParameters shape, Vector3 motion )
Array collide_shape ( PhysicsShapeQueryParameters shape, int max_results=32 )
Dictionary get_rest_info ( PhysicsShapeQueryParameters shape )
Dictionary intersect_ray ( Vector3 from, Vector3 to, Array exclude=Array(), int layer_mask=2147483647, int type_mask=15 )
Array intersect_shape ( PhysicsShapeQueryParameters shape, int max_results=32 )

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

Array cast_motion ( PhysicsShapeQueryParameters shape, Vector3 motion )

Array collide_shape ( PhysicsShapeQueryParameters shape, int max_results=32 )

Dictionary get_rest_info ( PhysicsShapeQueryParameters shape )

Dictionary intersect_ray ( Vector3 from, Vector3 to, Array exclude=Array(), int layer_mask=2147483647, int type_mask=15 )

Array intersect_shape ( PhysicsShapeQueryParameters shape, int max_results=32 )

© 2014–2017 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
http://docs.godotengine.org/en/2.1/classes/class_physicsdirectspacestate.html