Table of Contents

Interface IMotionFrame

Namespace
KSP.Sim
Assembly
Assembly-CSharp.dll
public interface IMotionFrame : IMotion, IMotionRelative
Inherited Members
Extension Methods

Properties

localFrame

ITransformFrame localFrame { get; }

Property Value

ITransformFrame

motion

IMotionModel motion { get; }

Property Value

IMotionModel

relativeAngularVelocity

Vector relativeAngularVelocity { get; set; }

Property Value

Vector

relativeVelocity

Vector relativeVelocity { get; }

Property Value

Vector

type

TransformFrameType type { get; }

Property Value

TransformFrameType

Methods

ToLocalAngularVelocity(IMotion, Vector3d)

Vector3d ToLocalAngularVelocity(IMotion relativeTo, Vector3d localAngularVelocity)

Parameters

relativeTo IMotion
localAngularVelocity Vector3d

Returns

Vector3d

ToLocalAngularVelocity(AngularVelocity)

Vector3d ToLocalAngularVelocity(AngularVelocity angularVelocity)

Parameters

angularVelocity AngularVelocity

Returns

Vector3d

ToLocalVelocity(IMotion, Vector3d, Position)

Vector3d ToLocalVelocity(IMotion relativeTo, Vector3d localVelocity, Position position)

Parameters

relativeTo IMotion
localVelocity Vector3d
position Position

Returns

Vector3d

ToLocalVelocity(Velocity, Position)

Vector3d ToLocalVelocity(Velocity otherVelocity, Position position)

Parameters

otherVelocity Velocity
position Position

Returns

Vector3d

atRestDriver(Position, Rotation)

IRigidbodyDriver atRestDriver(Position position, Rotation rotation)

Parameters

position Position
rotation Rotation

Returns

IRigidbodyDriver