Click or drag to resize

PlayerObjectMove Method (Vector3, Single, Vector3)

Moves this IGameObject to the given position and rotation with the given speed.

Namespace:  SampSharp.GameMode.World
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public virtual int Move(
	Vector3 position,
	float speed,
	Vector3 rotation
)

Parameters

position
Type: SampSharp.GameModeVector3
The position to which to move this IGameObject.
speed
Type: SystemSingle
The speed at which to move this IGameObject.
rotation
Type: SampSharp.GameModeVector3
The rotation to which to move this IGameObject.

Return Value

Type: Int32
The time it will take for the object to move in milliseconds.

Implements

IGameObjectMove(Vector3, Single, Vector3)
See Also