Move||doc136421

September 20, 2022

Format

MovableNode:Move(displacement, worldSpace)
  • Function class:MovableNode
  • Call limit:Common

Describe

Control the instance to move a certain direction vector. By default, it moves according to its own coordinate axis. You can choose to move according to the world coordinate axis.

parameter

Variable name Type Describe
displacement Vector3 Direction vector of movement
worldSpace bool Whether to move with the world coordinate axis. The default is false