World category - Stingray Flow Node Reference

World category

Nodes

Outputs

Out

event

This event is triggered when the node finishes its evaluation.

Hit

boolean

Returns true if the collision is detected and false otherwise.

Position

vector3

The position of the collision in the world.

Distance

float

The distance of the collision point from the starting point of the collision test.

Normal

vector3

The normal of the surface that was hit.

Unit

unit

The unit holding the physics actor.

Actor

actor

The physics actor that was hit.

Inputs

string

Object Type

The type of objects considered for collision. Accepted values : statics, dynamics, both.

Accepted values: statics dynamics both

string

Collision Filter

The collision filter that the ray should use to determine which objects it collides with.

vector3

From

The start position of the raycast.

vector3

Direction

The direction that the ray will be cast from its starting point.

float

Length

The length of the ray.

event

In

This event triggers the evaluation of this node.

Available in Unit Flow Editor, Level Flow Editor, and External Flow Editor.

Outputs

Out

event

This event is triggered when the node finishes its evaluation.

Inputs

vector3

Gravity

The gravity to set for the physics world.

event

In

This event triggers the evaluation of this node.

Available in Unit Flow Editor, Level Flow Editor, and External Flow Editor.