Table of Contents

Struct AbilitySpawnPose

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

World pose an ability object is spawned with.

public readonly struct AbilitySpawnPose
Inherited Members

Remarks

Resolved once by ResolveSpawnPose(ICharacter, Ability, Transform, TargetInfo, Vector3, Vector3) on the peer that runs the authoritative simulation (server) or predicts it (owner), and carried verbatim to observers in AbilityActivatedBroadcast. An observer must not re-resolve it: every spawn target except Camera reads the caster's motor, transform or spawner, and an observer holds those interpolated — several hundred milliseconds behind — so a locally resolved pose would put the object where the caster used to be, and the closed-form trajectory would keep it on that offset line for its whole life.

Constructors

AbilitySpawnPose(Vector3, Quaternion)

public AbilitySpawnPose(Vector3 position, Quaternion rotation)

Parameters

position Vector3
rotation Quaternion

Fields

Position

World position.

public readonly Vector3 Position

Field Value

Vector3

Rotation

World rotation.

public readonly Quaternion Rotation

Field Value

Quaternion