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", "type": "Vector3",
"name": "direction", "name": "direction",
"description": "Ray direction" "description": "Ray direction (normalized)"
} }
] ]
}, },

View file

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

View file

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

View file

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