Translate

A detailed explanation of controls and interface functions are described in the section State Machine Builder User Interface.

  1. Within the edit Simulation section of the HyperSkill Desktop application, navigate to the State Machine tab.

  2. Click on the desired state and from the dropdown in either the entry or exit actions select the type Translate.

  3. Press the + button to add the state to the action list.

  1. Select the entity of the object you wish to translate in space with the Select Entity dropdown.

  2. Select the x,y, and z coordinates of where you would like the object to be translated to.

a. You have the option of translating in Global Space or Local Space. If an object is not snapped into anything, Local Space will behave like Global Space.

  1. Select the mode you wish to translate with

a. You have the option of Set, which sets the position to the specified value, or Add, which adds the specified value to the objects current position

b. When using Local Space and the mode is set to Add, the scale of the parent object will affect how much a child object is translated. If the parent object is scaled smaller, the child object will also be translated less.

  1. Set the amount of time you want the object to take from its current location to the end destination with the Speed field. This value must be greater than or equal to 0. Please be aware that if the object is not Kinematic that it will likely behave erratically as other forces, such as gravity or collisions, attempt to act on the object in question

Last updated