Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Omit<Part, "type">
    • WheelPart

Index

Properties

animations?: "" | Animation[]

Array of animations to be applied.

see

{Animation} for animation implementation.

area?: number
buoyancy?: number
collisionPoints?: [number, number, number][]

Specify where, on the model, collisions with the ground should occur - best used on the "body" part of the aircraft (type=frame).

comment?: string
contactType?: string
controller?: { name: "pitch"; ratio: number; recenter?: boolean; sensitivity?: number }

Type declaration

  • name: "pitch"
  • ratio: number
  • Optional recenter?: boolean
  • Optional sensitivity?: number
coolingSpeed?: number
doNotScalePosition?: boolean
dragFactor?: number
forceDirection?: "X" | "Y" | "Z"

The direction in which the force (lift, thrust) will be applied.

heatingSpeed?: number
include?: string
indices?: number
initialTemperature?: number
liftFactor?: number
light?: "" | "white" | "red" | "green"
model?: string

Name of the DAE model declared in KML.

name: string

Part's name/id.

noCastShadows?: boolean
noReceiveShadows?: boolean
node?: string

Name of the node in the root model.

! A "root" part must be declared to load the main GLTF file.

parent?: string

Parent's name.

points?: { forceSourcePoint: [number, number, number] }

Type declaration

  • [key: string]: [number, number, number]
  • forceSourcePoint: [number, number, number]

    The source of force vector relative to the part origin

position?: null | [number, number, number]

Relative to the parent (or root).

propwash?: number
rotaition?: [number, number, number]

Relative to the parent (or root).

rotation?: [number, number, number]
scale?: [number, number, number]

Relative to the parent (or root).

suspension: { axis?: "X" | "Y" | "Z"; damping: number; hardPoint?: number; motion?: "translate" | "rotation"; ratio?: number; restLength?: number; stiffness: number }

Type declaration

  • Optional axis?: "X" | "Y" | "Z"
  • damping: number
  • Optional hardPoint?: number
  • Optional motion?: "translate" | "rotation"
  • Optional ratio?: number
  • Optional restLength?: number
  • stiffness: number
textures?: { filename: string; index: number }[]
type: "wheel" | "pad"
volume?: number

Generated using TypeDoc