Basic Platform

Build Singleplayer & Multiplayer Logic - about [SP] or [MP] behaviours or components.

Move an object to a different location and back.

  • Modify speed and set wait time at destination

  • Set to look at destination or face the same way

Common Uses

  • Platformer games with moving obstacles and player transports

  • Puzzle games (using the Togglecomponent to affect an object's behaviour)

  • Vehicles moving between two points for active scenery (Look at Destination set to True)


How it Works

Trigger: None*

*Movement can be controlled using Toggle component

Action: Movement (any direction)

The object moves at a custom speed in any direction using X, Y, and Z coordinates. It may face the direction of movement and pause before returning. This repeats infinitely.

Out: No messages sent


Parameter Notes

Move Offset sets the destination using X, Y, and Z values. The location is shown in Editor mode with a blue cube gizmo.

Look at Destination sets the front of the object to face the same direction or the direction of movement.

OptionsDetails

Look at Destination

  • False - the front of the Object will be based on its placement.

  • True - the front of the Object will be based on the direction it is moving in.

Last updated

Logo

Copyright © 2012- 2023 The Sandbox. All Rights Reserved.