This commit is contained in:
Ray 2024-07-07 21:02:29 +02:00
commit 43fe992b94
4 changed files with 4 additions and 4 deletions

View File

@ -1058,7 +1058,7 @@
{
"type": "Vector3",
"name": "direction",
"description": "Ray direction"
"description": "Ray direction (normalized)"
}
]
},

View File

@ -1058,7 +1058,7 @@ return {
{
type = "Vector3",
name = "direction",
description = "Ray direction"
description = "Ray direction (normalized)"
}
}
},

View File

@ -473,7 +473,7 @@ Struct 23: Ray (2 fields)
Name: Ray
Description: Ray, ray for raycasting
Field[1]: Vector3 position // Ray position (origin)
Field[2]: Vector3 direction // Ray direction
Field[2]: Vector3 direction // Ray direction (normalized)
Struct 24: RayCollision (4 fields)
Name: RayCollision
Description: RayCollision, ray hit information

View File

@ -220,7 +220,7 @@
</Struct>
<Struct name="Ray" fieldCount="2" desc="Ray, ray for raycasting">
<Field type="Vector3" name="position" desc="Ray position (origin)" />
<Field type="Vector3" name="direction" desc="Ray direction" />
<Field type="Vector3" name="direction" desc="Ray direction (normalized)" />
</Struct>
<Struct name="RayCollision" fieldCount="4" desc="RayCollision, ray hit information">
<Field type="bool" name="hit" desc="Did the ray hit something?" />