Skip to main content

User

Block NameBlockDescription
User Move

Move the user's position for a given distance within a fixed duration.

  • Distance: Vector3 value specifying the distance of movement with respect to the wand's xyz direction in meter.
  • Time: Number value specifying the time of movement in second.
User Rotate

Rotate the user by a specified angle within a fixed duration.

  • Angle: Vector3 value specifying the required amount of rotation with respect to the user's xyz axis.
  • Time: Number value specifying the time of rotation in second.
Set User Position

Move the user to a target position within a specified time.

  • Destination: Vector3 value specifying the position coordinate in the scene.
  • Time: Number value specifying the allowed travel time to reach the target position.
note

If Time is 0, the user moves instantly

Set User Rotation

Rotate the object to a target rotation within a specified time.

  • Destination: Vector3 value specifying the rotation value.
  • Time: Number value specifying the allowed travel time to reach the target rotation.
note

If Time is 0, the user rotates instantly

Travel To Destination

Move User to the position and rotation of the target object within a specified time.

  • Target: Target object in the same scene which the user should travel to.
  • Time: Number value specifying the allowed travel time to reach the target object.
note

If Time is 0, the user travels instantly

Show Tool

Set the visibility of the XR tool.

  • Enable: Boolean value specifying the visibility of the XR tool.
Set Tool

Set the type of the tool.

  • Tool: Tool type which can be used in votanicXR
Equip

Equip the specified object to an Entity (including the user's body part) with specified offset values.

  • Position: Vector3 value specifying the object's distance to the player hand when the object is equipped.
  • Rotation: Vector3 value specifying the object's rotation to the player hand when the object is equipped.
  • Target Entity: Entity object for which the item will be equipped to.
  • Target Item: Target object that will be equipped on the Entity.
Unequip

Unequip the object from the specified Entity.

Set Use Gravity

Set enable or disable the gravity

  • Enable: Boolean value specifying the status of the gravity.
Set Wand Length

Set the wand length for the user

  • Length: Number value specifying the length of the wand.