godot_voxel/doc/docs/api/VoxelRaycastResult.md
Marc Gilleron ce198c2670 Some doc
2021-01-21 20:04:53 +00:00

992 B

VoxelRaycastResult

Inherits: Reference

Result of a raycast performed with method VoxelTool.raycast

Properties:

Type Name Default
Vector3 position Vector3( 0, 0, 0 )
Vector3 previous_position Vector3( 0, 0, 0 )

Property Descriptions

  • Vector3 position = Vector3( 0, 0, 0 ) Integer position of the voxel that was hit.

  • Vector3 previous_position = Vector3( 0, 0, 0 ) Integer position of the previous voxel along the ray before the final hit.

Generated on Jan 21, 2021