Draw

AABB

Used to draw an AABB bounding box.

Inputs

PortTypeDescription
DrawAnyDraws an AABB bounding box
MinPosVec3Minimum position of the bounding box
MaxPosVec3Maximum position of the bounding box
ColorVec3Color of the bounding box
TimeFloatNumber of seconds the bounding box will be visible for

Cone

Used to draw a cone for debugging purposes.

Inputs

PortTypeDescription
DrawAnyDraws a cone
PosVec3Position of the cone
DirVec3Direction of the cone axis
RadiusFloatRadius of the cone base
HeightFloatHeight of the cone
ColorVec3Color of the cone
TimeFloatNumber of seconds the cone will be visible for

Cylinder

Used to draw a Cylinder for debugging purposes.

Inputs

PortTypeDescription
DrawAnyDraws a cylinder
PosVec3Position of the cylinder
DirVec3Direction of the cylinder axis
RadiusFloatRadius of the cylinder
HeightFloatHeight of the cylinder
ColorVec3Color of the cylinder
TimeFloatNumber of seconds the cylinder will be visible for

Direction

Used to draw an arrow for debugging purposes.

Inputs

PortTypeDescription
DrawAnyDraws an arrow
PosVec3Position of the arrow
DirVec3Direction the arrow is pointing
RadiusFloatRadius of the arrow head
ColorVec3Color of the arrow
TimeFloatNumber of seconds the arrow will be visible for

EntityTag

Formerly "DisplayTag". You can use this node to debug entities within a level. When you setup an entity with the DisplayTag it will printout its EntityID above the object in the world.

In the above example, we are displaying the EntityID of the Player and Human on game start.

In this example, we are using the Draw:EntityTag to output the health of the entity Human every second via an Actor:HealthGet node. Then when Human is dead, we pause the timer which will stop the update to the Draw:EntityTag node.

Inputs

PortTypeDescription
DrawAnyDisplays a text message above an entity
MessageStringText message
FontSizeFloatText message font size
ColorVec3Text message color
TimeFloatNumber of seconds the message will be visible for

Outputs

PortTypeDescription
Done
Triggers when the text message is no longer visible

EntityTagAdvanced

Formerly "DisplayTagAdv". This node is similar to the Draw:EntityTag node, but with more options for controlling the output of the message.

In the above example like before we are outputting the health value of Human to the Draw:EntityTagAdvanced node.

But you have control over the visible and fade time of the message, font size and color, view distance and which column to place it in if you have a lot of information to show.

Inputs

PortTypeDescription
DrawAnyDisplays a text message above an entity
MessageStringMessage to be displayed
FadeTimeFloatNumber of seconds for a text message to fade out.
FontSizeFloatFont size of the text message
ViewDistanceFloatDistance from camera the entity must be within for message to be displayed
StaticIDStringStatic tag ID
ColumnNumIntegerWhich column above an entity the message will be displayed in
ColorVec3Color of the text message
TimeFloatNumber of seconds the text message will be visible for

Line

Used to draw a line.

Inputs

PortTypeDescription
DrawAnyDraws a line in 3D space
Pos1Vec3Starting point of the line
Pos2Vec3Ending point of the line
DirVec3Direction of the line
LengthFloatLength of the line
ColorVec3Color of the line
TimeFloatNumber of seconds the circle will be visible for

PlanarDisc

Used to draw a disc.

Inputs

PortTypeDescription
DrawAnyDraws a disc
PosVec3Position of the disc center
InnerRadiusFloatInner radius of the disc
OuterRadiusFloatOuter radius of the disc
ColorVec3Color of the disc
TimeFloatNumber of seconds the circle will be visible for

Sphere

Used to draw a sphere.

Inputs

PortTypeDescription
DrawAnyDraws a sphere
PosVec3Position of the sphere center
RadiusFloatRadius of the sphere
ColorVec3Color of the sphere
TimeFloatNumber of seconds the circle will be visible for