ParaPlayer.MoveContinuously

Declaration

public void MoveContinuously(Vector2 speed)

Parameter

speedPass in a speed multiplier for the XZ plane

Description

Control the player's movement speed based on the speed multiplier toward a certain direction.
speed.x is the speed multiplier that corresponds to the X coordinate in the world; speed.y is the speed multiplier that corresponds to the Z coordinate in the world.
The base of the multiplier corresponds to the speed gained by the ParaPlayer.GetSpeed()
Example: When the player's movement speed is 4m/s, applying MoveContinuously(0.5, 1.0) makes the player move toward X direction at a rate of 2m/s and toward Z direction at a rate of 4m/s.
Only works for local players.