Header menu logo Nu

BodyIntersection Type

Describes a physics body intersection, such as found from a ray cast.

Record fields

Record Field Description

BodyShapeIntersected

Full Usage: BodyShapeIntersected

Field type: BodyShapeIndex
Field type: BodyShapeIndex

Normal

Full Usage: Normal

Field type: Vector3
Field type: Vector3

Position

Full Usage: Position

Field type: Vector3
Field type: Vector3

Progress

Full Usage: Progress

Field type: single
Field type: single

Static members

Static member Description

BodyIntersection.make bodyShapeIntersected progress position normal

Full Usage: BodyIntersection.make bodyShapeIntersected progress position normal

Parameters:
Returns: BodyIntersection

Make a ray intersesction value.

bodyShapeIntersected : BodyShapeIndex
progress : single
position : Vector3
normal : Vector3
Returns: BodyIntersection

Type something to start searching.