Node Copied to Clipboard!

Editor Documentation - Nodes

Drag On Axis Node

The Drag On Axis node is used to drag an object in your lesson.

Using the Delta Position and Delta Rotation properties, you can create a translation that the object will follow. When the user drags on the object in the lesson, they must drag it on the axis specified by the object’s starting location and it’s ending location.

The Rotation Multiplier property functions just like the Animate node’s Rotation Multiplier. It is set to 1 by default – the object will rotate by the specified Delta Rotation once. You can set this number to any multiple (e.g. 2 will rotate twice within the Time, 3 will rotate 3 times, 99 will rotate 99 times, etc.).

The Allow Going Backwards property specifies whether the user can drag the object back and forth on the axis. Having this turned off will only allow the user to drag the object in one direction.

Drag On Custom Axis

The Drag On Custom Axis node is similar to the Drag On Axis node, with more options for customization.

Two additional options for customization are available in the Drag On Custom Axis node’s properties:

  • Drag Direction specifies the axis which the user drags the object. This can be used to drag in a different direction than the axis which the object follows, which can be useful if the camera angle in the lesson makes it difficult to drag an object. For example, setting the values to (-1,-1,-1) will allow the user to drag in the opposite direction.
  • Drag Distance specifies the distance the user can drag the object in the lesson. A lower number makes the object easier to drag on the axis, and a higher number makes the user have to click and drag more frequently.

Node Example