Table of Contents

Struct ObjectMoveData

Namespace
SampSharp.OpenMp.Core.Api
Assembly
SampSharp.OpenMp.Core.dll

Represents the movement data of an object, including its target position, target rotation, and speed.

public readonly struct ObjectMoveData
Inherited Members

Constructors

ObjectMoveData(Vector3, Vector3, float)

Initializes a new instance of the ObjectMoveData struct.

public ObjectMoveData(Vector3 targetPos, Vector3 targetRot, float speed)

Parameters

targetPos Vector3

The target position of the object.

targetRot Vector3

The target rotation of the object.

speed float

The speed at which the object moves.

Fields

Speed

Gets the speed at which the object moves.

public readonly float Speed

Field Value

float

TargetPos

Gets the target position of the object.

public readonly Vector3 TargetPos

Field Value

Vector3

TargetRot

Gets the target rotation of the object.

public readonly Vector3 TargetRot

Field Value

Vector3