Table of Contents

Class TrainLaunchTrajectory

Namespace
Root
Assembly
SPZGameAssembly.dll
public class TrainLaunchTrajectory : ITrainLaunchTrajectoryProvider
Inheritance
object
TrainLaunchTrajectory
Implements
Extension Methods

Constructors

TrainLaunchTrajectory()

public TrainLaunchTrajectory()

Methods

EvaluatePosition(GlobalChunkCoordinate, GlobalChunkCoordinate, ChunkDirection, ChunkDirection, bool, float, float, TrainAnimationConfig, out float)

public WorldCoordinate EvaluatePosition(GlobalChunkCoordinate previousRail, GlobalChunkCoordinate nextRail, ChunkDirection incomingDirection, ChunkDirection outgoingDirection, bool upsideDown, float progressedLength, float totalLength, TrainAnimationConfig config, out float pitch)

Parameters

previousRail GlobalChunkCoordinate
nextRail GlobalChunkCoordinate
incomingDirection ChunkDirection
outgoingDirection ChunkDirection
upsideDown bool
progressedLength float
totalLength float
config TrainAnimationConfig
pitch float

Returns

WorldCoordinate