Returns: STRING
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: SINGLE
Arguments: SINGLE val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: STRING
Arguments: STRING rTextureFN
Returns: IntervalF
Arguments: IntervalF rValue
Returns: IntervalF
Arguments: IntervalF rValue
Arguments: VectorI rCells
Returns: VectorI
Arguments: INT rIndex
Returns: PS
Returns: SINGLE
Arguments: INT rIndex
Returns: STRING
Returns: STRING
Arguments: STRING rName
Returns: IntervalI
Arguments: IntervalI val
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: STRING
Arguments: STRING rTextureFN
Returns: IntervalF
Arguments: IntervalF rValue
Returns: IntervalF
Arguments: IntervalF rValue
Arguments: VectorI rCells
Returns: VectorI
Arguments: INT rIndex
Returns: PS
Returns: SINGLE
Arguments: INT rIndex
Returns: STRING
Returns: STRING
Arguments: STRING rName
Returns: IntervalI
Arguments: IntervalI val
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: STRING
Arguments: STRING rTextureFN
Returns: IntervalF
Arguments: IntervalF rValue
Returns: IntervalF
Arguments: IntervalF rValue
Arguments: VectorI rCells
Returns: VectorI
Arguments: INT rIndex
Returns: PS
Returns: SINGLE
Arguments: INT rIndex
Returns: STRING
Returns: STRING
Arguments: STRING rName
Returns: IntervalI
Arguments: IntervalI val
Returns: STRING
Arguments: STRING rTextureFN
Returns: IntervalF
Arguments: IntervalF rValue
Returns: IntervalF
Arguments: IntervalF rValue
Arguments: VectorI rCells
Returns: VectorI
Returns: IntervalF
Arguments: IntervalF val
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: STRING
Arguments: STRING rTextureFN
Returns: IntervalF
Arguments: IntervalF rValue
Returns: IntervalF
Arguments: IntervalF rValue
Arguments: VectorI rCells
Returns: VectorI
Arguments: INT rIndex
Returns: PS
Returns: SINGLE
Arguments: INT rIndex
Returns: STRING
Returns: STRING
Arguments: STRING rName
Returns: IntervalI
Arguments: IntervalI val
Returns: IntervalF
Arguments: IntervalF val
Returns: IntervalF
Arguments: IntervalF val
Arguments: INT rIndex, STRING rName
Arguments: INT rIndex
Returns: STRING
Arguments: INT rIndex, SINGLE rValue
Arguments: INT rIndex
Returns: SINGLE
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: STRING
Arguments: STRING rTextureFN
Returns: IntervalF
Arguments: IntervalF rValue
Returns: IntervalF
Arguments: IntervalF rValue
Arguments: VectorI rCells
Returns: VectorI
Arguments: INT rIndex
Returns: PS
Returns: SINGLE
Arguments: INT rIndex
Returns: STRING
Returns: STRING
Arguments: STRING rName
Returns: IntervalI
Arguments: IntervalI val
Returns: IntervalF
Arguments: IntervalF val
Returns: IntervalF
Arguments: IntervalF val
Arguments: INT rIndex, STRING rName
Arguments: INT rIndex
Returns: STRING
Arguments: INT rIndex, SINGLE rValue
Arguments: INT rIndex
Returns: SINGLE
Arguments: INT rIndex
Returns: PS
Returns: SINGLE
Arguments: INT rIndex
Returns: STRING
Returns: STRING
Arguments: STRING rName
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Arguments: INT rIndex
Returns: PS
Returns: SINGLE
Arguments: INT rIndex
Returns: STRING
Returns: STRING
Arguments: STRING rName
Returns: STRING
Arguments: STRING rTextureFN
Returns: IntervalF
Arguments: IntervalF rValue
Returns: IntervalF
Arguments: IntervalF rValue
Arguments: VectorI rCells
Returns: VectorI
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Arguments: INT rIndex
Returns: PS
Returns: SINGLE
Arguments: INT rIndex
Returns: STRING
Returns: STRING
Arguments: STRING rName
Returns: STRING
Arguments: STRING rTextureFN
Returns: IntervalF
Arguments: IntervalF rValue
Returns: IntervalF
Arguments: IntervalF rValue
Arguments: VectorI rCells
Returns: VectorI
Returns: SoundSetMan
Returns: ColorRGBA
Arguments: ColorRGBA val
Returns: ColorRGBA
Arguments: ColorRGBA val
Arguments: STRING rSceneFN, BOOLEAN rAddAssembliesByActivity, BOOLEAN rIsSceneFragment
Returns: BOOLEAN
Returns: STRING
Arguments: STRING val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: DrawOptions
Returns: SINGLE
Returns: SINGLE
Returns: BOOLEAN
Returns: STRING
Returns: BOOLEAN
Arguments: BOOLEAN val
Return delta time, which is time per one frame.
Returns: SINGLE
Return 1 / delta time.
Returns: SINGLE
Returns: BOOLEAN
Returns: ColorRGBA
Arguments: ColorRGBA val
Return the gravity vector in this scene.
Returns: VectorF
Arguments: VectorF rGravityVector
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: VectorF
Arguments: VectorF val
Returns: SINGLE
Arguments: SINGLE val
Return time at given point (in range 0..1)
Arguments: VectorF rPoint
Returns: SINGLE
Return time shift at given point (in range 0..1) (doesn't include actual day-time)
Arguments: VectorF rPoint
Returns: SINGLE
Return general time (in range 0..1) by current planetoid orientation.
Returns: SINGLE
Return day light intensity at specified point (0..1)
Arguments: VectorF rPoint
Returns: SINGLE
Delete specified mo. All Joints, PSs, Lights and assembly will be unlinked before deleting.
Arguments: PMO rpMO
Delete specified joint. MOs and ssembly will be unlinked before deleting.
Arguments: PJoint rpJoint
Delete specified ps. It will be unlinked from mo and assembly before deleting.
Arguments: PPS rpPS
Delete specified light. It will be unlinked from mo and assembly before deleting.
Arguments: PLight rpLight
Arguments: PAssembly rpAssembly
Arguments: INT rWhat
Arguments: INT rWhat
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Arguments: VectorF rPoint
Returns: BOOLEAN
Returns: Assembly
Arguments: INT rIndex
Arguments: INT rIndex
Returns: MO
Arguments: BOOLEAN rCopyPhysicsMaterialToMO
Arguments: PMO rpMO1, PMO rpMO2, BOOLEAN rDoCollide
Returns: Joint
Returns: PS
Returns: STRING
Returns: STRING
Returns: STRING
Arguments: BOOLEAN rNoChildPSCopy
Returns: TO
Returns: SINGLE
Arguments: ColorRGBA rColor
Returns: ColorRGBA
Arguments: ColorRGBA rColor
Returns: ColorRGBA
Arguments: INT rWhich
Returns: SINGLE
Arguments: BOOLEAN rLighted
Returns: BOOLEAN
Arguments: SINGLE rValue
Returns: SINGLE
Arguments: SINGLE rValue
Returns: SINGLE
Arguments: STRING rName
Returns: STRING
Returns: BOOLEAN
Arguments: BOOLEAN rValue
Returns: STRING
Arguments: STRING rFN
Arguments: VectorF rScale
Returns: VectorF
Returns: BOOLEAN
Arguments: BOOLEAN rValue
Arguments: SINGLE rValue
Returns: SINGLE
Arguments: INT rValue
Returns: SINGLE
Arguments: SINGLE rValue
Returns: SINGLE
Arguments: BOOLEAN rVisible
Returns: BOOLEAN
Arguments: STRING rZoneName
Returns: STRING
Returns: STRING
Arguments: STRING val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: STRING
Arguments: STRING rName
Arguments: SINGLE rSlippery
Returns: SINGLE
Arguments: BYTE rAlpha
Returns: BYTE
Arguments: BOOLEAN rCollisionsON
Returns: BOOLEAN
Returns: BOOLEAN
Arguments: BOOLEAN rAtomizable
Arguments: BOOLEAN rPassDynamics
Returns: BOOLEAN
Arguments: BOOLEAN rPassParticles
Returns: BOOLEAN
Arguments: SINGLE rDegrees, BOOLEAN rOnePivot
Arguments: SINGLE rScalePercent, BOOLEAN rOnePivot
Arguments: SINGLE rX, SINGLE rY, BOOLEAN rOnePivot
Arguments: SINGLE rX, SINGLE rY
Arguments: BOOLEAN rOnePivot
Arguments: BOOLEAN rOnePivot
Arguments: INT rX, INT rY
Returns: BOOLEAN
Arguments: BOOLEAN rValue
Returns: BOOLEAN
SCN = activity selected for this scene.
Returns: Activity
SM = selected material (may be one of materials or an individual object's material)
Returns: Material
Returns: STRING
returns movable object that owns material selected in editor, may return NULL
Returns: MO
select one of materials for editing
Arguments: INT rIndex
select material of object in a simulation for editing
Returns: SINGLE
Arguments: INT rArrayIndex
Returns: STRING
Returns: SINGLE
Arguments: INT rArrayIndex
Arguments: INT rArrayIndex
Arguments: INT rArrayIndex
Arguments: INT rArrayIndex
Returns: BOOLEAN
Returns: SINGLE
Arguments: SINGLE rParallax
Returns: SINGLE
Returns: SINGLE
Returns: SINGLE
Arguments: SINGLE rFixedZoom
Returns: SINGLE
Arguments: INT rLightingType
Arguments: BOOLEAN rRotate
Returns: BOOLEAN
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Returns: Assembly
Returns: Blueprint
Returns: BOOLEAN
Returns: STRING
Returns: BOOLEAN
Arguments: STRING rBlueprintFN, BlueprintLoadStyle rLoadStyle, STRING rBackupFNLoad
Returns: BOOLEAN
undo one change on blueprint
redo one change on blueprint
saves changes to blueprint undo stack if some blueprint part is being edited
Arguments: STRING rUndoHint
starts a serie of changes that will be saved to one undo step
Arguments: STRING rUndoHint
ends the undo series changes
Returns: BOOLEAN
Arguments: VectorF rShiftPos
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Arguments: STRING rBlueprintFN, VectorF rPosition, VectorF rVelocity, PMO rpDontCollideMO
Returns: Assembly
Arguments: STRING rBlueprintFN, VectorF rPosition, SINGLE rOrientation, BOOLEAN rAdjustOrientationByGravityAngle, VectorF rVelocity, SINGLE rAngularVelocity, PMO rpDontCollideMO
Returns: Assembly
Arguments: STRING rBlueprintFN, VectorF rInitPosition
Returns: Assembly
Arguments: STRING rName, VectorF rInitPosition
Returns: PS
Arguments: PMO rpMO
Returns: Assembly
Arguments: INT rID
Returns: Assembly
Arguments: INT rID
Returns: MO
Arguments: INT rID
Returns: PS
Arguments: INT rID
Returns: Joint
Arguments: INT rID
Returns: Light
Arguments: PAssembly rNearToAssembly, STRING rAT, SINGLE rMaxDistance
Returns: Assembly
Arguments: PAssembly rNearToAssembly, STRING rAT, SINGLE rMaxDistance
Returns: Assembly
Return true if specified assemblies are mounted with involuntary joint or are not connected via any joint at all. This works also for assemblies not mounted directly.
Arguments: PAssembly rAssembly1, PAssembly rAssembly2
Returns: BOOLEAN
Return true if specified assemblies are mounted with voluntary joint(s) only. This works also for assemblies not mounted directly.
Arguments: PAssembly rAssembly1, PAssembly rAssembly2
Returns: BOOLEAN
Return table of assemblies that should be notified by arrow tip.
Arguments: SINGLE rMaxDist
Returns: SINGLE
Return table of joints that should be notified by arrow tip.
Arguments: SINGLE rMaxDist
Returns: SINGLE
Arguments: VectorF rPosition, SINGLE rRadius, SINGLE rPower
Returns: SINGLE
Returns: SINGLE
Arguments: INT rIndex
Returns: Light
Returns: BOOLEAN
Returns: STRING
Arguments: VectorF rMove
Arguments: VectorF rMove
Returns: ColorRGBA
Arguments: ColorRGBA val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: Light
Arguments: STRING rName
Arguments: ColorRGBA rColor
Arguments: BYTE rIntensity
Arguments: VectorF rPosition
Arguments: SINGLE rRadius
Arguments: BOOLEAN rOff
Arguments: BOOLEAN rOn
Arguments: BOOLEAN rBlink
Arguments: IntervalF val
Arguments: ColorRGBA val
Arguments: ColorRGBA val
Arguments: BOOLEAN val
Arguments: SINGLE val
Arguments: BOOLEAN rSpotLight
Arguments: SINGLE val
Arguments: SINGLE val
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: Timer
Arguments: SINGLE rCurrentTime, SINGLE rTimeLimit, BOOLEAN rPaused, BOOLEAN rLooping
Returns: Timer
Arguments: PTimer rpTimer
Returns: BOOLEAN
Returns: SoundSetMan
Arguments: STRING rAT
Arguments: INT rIndex
Returns: STRING
Returns: SINGLE
returns random integer in range 0..rMax
Arguments: INT rMax
Returns: SINGLE
returns random integer in range rMin..rMax, including these values
Arguments: INT rMin, INT rMax
Returns: SINGLE
returns random true or false
Returns: BOOLEAN
returns random number in range 0.0f..1.0f
Returns: SINGLE
returns random number in range 0.0f..rMax
Arguments: SINGLE rMax
Returns: SINGLE
returns random number in range rMin..rMax
Arguments: SINGLE rMin, SINGLE rMax
Returns: SINGLE
returns random number in range 0.0f..rMax with random sign (plus or minus)
Arguments: SINGLE rMax
Returns: SINGLE
returns random number in range rMin..rMax and randomly changes the number sign
Arguments: SINGLE rMin, SINGLE rMax
Returns: SINGLE
Cast a ray from rPoint1 to (rVector+rPoint1) that collide with movable objects and terrain objects.
Arguments: VectorF rPoint1, VectorF rVector
Returns: BOOLEAN
Cast a ray from rPoint1 to (rVector+rPoint1) that may collide with movable objects and/or terrain objects.
Arguments: VectorF rPoint1, VectorF rVector, BOOLEAN rCollideMOs, BOOLEAN rCollideTerrain
Returns: BOOLEAN
Cast a ray from rPoint1 to (rVector+rPoint1) that collide with movable objects and terrain objects. Returns any collision point. Ignores collisions with any assembly specified by rpExceptAssembly.
Arguments: VectorF rPoint1, VectorF rVector, PVectorF rpOutCollisionPoint, PAssembly rpExceptAssembly
Returns: BOOLEAN
Cast a ray from rPoint1 to (rVector+rPoint1) that may collide with movable objects and/or terrain objects. Returns any collision point. Ignores collisions with any assembly specified by rpExceptAssembly.
Arguments: VectorF rPoint1, VectorF rVector, PVectorF rpOutCollisionPoint, PSINGLE rpOutCollisionTime, BOOLEAN rCollideMOs, BOOLEAN rCollideTerrain, PMO rExceptMO, PAssembly rpExceptAssembly
Returns: BOOLEAN
Cast a ray from rPoint1 to (rVector+rPoint1) that may collide with movable objects. Returns collision point in rpOutCollisionPoint. Ignores collisions with any movable object specified by rExceptMO and assembly specified by rpExceptAssembly.
Arguments: VectorF rPoint1, VectorF rVector, PVectorF rpOutCollisionPoint, PMO rExceptMO, PAssembly rpExceptAssembly
Returns: MO
Cast a ray from rPoint1 to (rVector+rPoint1) that may collide with terrain objects. Returns collision point in rpOutCollisionPoint. Ignores collisions with any movable object. Return true if ray collided.
Arguments: VectorF rPoint1, VectorF rVector, PVectorF rpOutCollisionPoint
Returns: BOOLEAN
Cast a ray from rPoint1 to rPoint2 that collide with movable objects and terrain objects.
Arguments: VectorF rPoint1, VectorF rPoint2
Returns: BOOLEAN
Cast a ray from rPoint1 to rPoint2 that may collide with movable objects and/or terrain objects.
Arguments: VectorF rPoint1, VectorF rPoint2, BOOLEAN rCollideMOs, BOOLEAN rCollideTerrain
Returns: BOOLEAN
Cast a ray from rPoint1 to rPoint2 that collide with movable objects and terrain objects. Returns any collision point. Ignores collisions with any assembly specified by rpExceptAssembly.
Arguments: VectorF rPoint1, VectorF rPoint2, PVectorF rpOutCollisionPoint, PAssembly rpExceptAssembly
Returns: BOOLEAN
Cast a ray from rPoint1 to rPoint2 that may collide with movable objects and/or terrain objects. Returns any collision point. Ignores collisions with any assembly specified by rpExceptAssembly.
Arguments: VectorF rPoint1, VectorF rPoint2, PVectorF rpOutCollisionPoint, PSINGLE rpOutCollisionTime, BOOLEAN rCollideMOs, BOOLEAN rCollideTerrain, PMO rExceptMO, PAssembly rpExceptAssembly
Returns: BOOLEAN
Cast a ray from rPoint1 to rPoint2 that may collide with movable objects. Returns collision point in rpOutCollisionPoint. Ignores collisions with any assembly specified by rExceptMO and rpExceptAssembly. Return collided movable object if any.
Arguments: VectorF rPoint1, VectorF rPoint2, PVectorF rpOutCollisionPoint, PMO rExceptMO, PAssembly rpExceptAssembly
Returns: MO
Cast a ray from rPoint1 to rPoint2 that may collide with movable objects. Returns collision point in rpOutCollisionPoint. Ignores collisions with any movable object. Return true if ray collided.
Arguments: VectorF rPoint1, VectorF rPoint2, PVectorF rpOutCollisionPoint
Returns: BOOLEAN
Arguments: STRING rUndoHint
Arguments: STRING rUndoHint
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Arguments: INT val
Returns: SINGLE
Returns: SINGLE
Returns: STRING
Arguments: STRING rUndoHint
Arguments: STRING rUndoHint
Returns: ColorRGB
Arguments: ColorRGB rColor
Returns: ColorRGB
Arguments: ColorRGB rColor
Returns: SINGLE
Arguments: SINGLE rSpeed
Returns: SINGLE
Arguments: SINGLE rOrientation
Returns: SINGLE
Arguments: SINGLE rOrientation
Returns: SINGLE
Arguments: INT rValue
Returns: SINGLE
Arguments: INT rValue
Returns: SINGLE
Arguments: INT rValue
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: BOOLEAN
Returns: BOOLEAN
Arguments: BOOLEAN val
Arguments: STRING rZoneName
Returns: BOOLEAN
Arguments: VectorF rPoint, STRING rZoneName
Returns: BOOLEAN
Arguments: RectF rRectangle, STRING rZoneName
Returns: BOOLEAN
Returns the name of any zone at this point.
Arguments: VectorF rPoint
Returns: STRING
Returns table of zone names at this point.
Arguments: VectorF rPoint
Returns: SINGLE
Arguments: STRING rZoneName
Returns: VectorF
Arguments: STRING rZoneName
Returns: VectorF
Arguments: VectorF rPoint, STRING rZoneName
Returns: BOOLEAN
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
! Deprecated, this function will be deleted, you should update your script!
Returns: Controller
! Deprecated, this function will be deleted, you should update your script!
Returns: Assembly
Returns: Controller
Delete controller.
Arguments: PController rpController
Returns: BOOLEAN
Add controller and link it to assembly (if it has no controller linked), set rIsHuman and rIsHumanOnThisComputer if you want to control the assembly (pioneer), set rControllerDevice (0=auto(for human) or none(if human not set), 1= keyb+mouse, 2 = joystick 1, 3 = joystick 2,...
Arguments: PAssembly rpLinkToAssembly, BOOLEAN rIsHuman, BOOLEAN rIsHumanOnThisComputer, INT rControllerDevice
Returns: Controller
Return number of all controllers.
Returns: SINGLE
Return controller at specified index.
Arguments: INT rIndex
Returns: Controller
Return controller by its unique ID.
Arguments: INT rID
Returns: Controller
Returns: BOOLEAN
Return table of added controllers (IDs)
Returns: SINGLE
Return true if all human controllers are dead.
Returns: BOOLEAN
Return blueprints added to controllers info class.
Returns: BPsAddedToControllers
Arguments: PController rController
Arguments: STRING rSoundSetName, VectorF rPosition
Returns: Sound
Arguments: STRING rSoundSetName
Returns: Sound
Arguments: PSound rpSound
Returns: BOOLEAN
Arguments: STRING rSoundSetName
Returns: Sound
Fade full screen to color by time. if passed time <=0 then this immediately sets the color. Any color with alpha 0 is not rendered at all. By default this fades scene from black to transparent for one second.
Arguments: ColorRGBA rColor, SINGLE rTime
Arguments: STRING rText, VectorF rPos, BOOLEAN rCentered
Arguments: STRING rText, VectorF rPos, BOOLEAN rCentered, ColorRGBA rColor
Arguments: STRING rText, VectorF rWorldPos, VectorF rScreenPosShift, BOOLEAN rCentered
Arguments: STRING rText, VectorF rWorldPos, VectorF rScreenPosShift, BOOLEAN rCentered, ColorRGBA rColor
Arguments: STRING rText, VectorF rWorldPos, VectorF rScreenPosShift, BOOLEAN rCentered, ColorRGBA rColor, ColorRGBA rOutlineColor
Arguments: STRING rText, VectorF rPos, BOOLEAN rCentered, ColorRGBA rColor, ColorRGBA rOutLineColor, SINGLE rSize
Emit shard particles from mo, with velocity from center to out.
Arguments: PMO rpMO, INT rParticlesCount, SINGLE rVelocityMin, SINGLE rVelocityMax
Get gravity vector at specified point.
Arguments: VectorF rPoint
Returns: VectorF
Get gravity vector at specified point (more precise, less performance)
Arguments: VectorF rPoint
Returns: VectorF
Get gravity angle at specified point.
Arguments: VectorF rPoint
Returns: SINGLE
Get gravity angle at specified point (more precise, less performance)
Arguments: VectorF rPoint
Returns: SINGLE
Return a rotated copy of the input vector counterclockwise by the angle of the gravity vector + pi/2, at specified point in scene.
Arguments: VectorF rVector, VectorF rAtPoint
Returns: VectorF
Return a rotated copy of the input vector counterclockwise by the angle of the gravity vector + pi/2, at specified point in scene (more precise, less performance)
Arguments: VectorF rVector, VectorF rAtPoint
Returns: VectorF
Returns: STRING
Returns: STRING
Arguments: STRING rControlType
Returns: BOOLEAN
Returns: STRING
Arguments: STRING val
Returns: STRING
Arguments: STRING val
Returns: SINGLE
Arguments: INT rIndex
Arguments: STRING rID
Returns: STRING
Returns: STRING
Arguments: INT rParamIndex
Returns: STRING
Arguments: INT rParamIndex
Returns: STRING
Arguments: INT rParamIndex, STRING rParamValue
Returns: BOOLEAN
Arguments: BOOLEAN rEnabled
Arguments: STRING rScript
Arguments: STRING rValue
Returns: STRING
Arguments: STRING rValue
Returns: STRING
Returns: BOOLEAN
Require to load specified scene into game scene.
Arguments: STRING rSceneName, BOOLEAN rOnlyIfNotLoadedAlready
Require to load specified scene into menu scene.
Arguments: STRING rSceneName, BOOLEAN rOnlyIfNotLoadedAlready
Require to switch to game scene (doesn't switch immediately, after frame is finished)
Require to switch to menu scene (doesn't switch immediately, after frame is finished)
Arguments: STRING rSceneFN
Arguments: STRING rSceneName
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Arguments: INT val
Returns: SINGLE
Arguments: INT val
Returns: SINGLE
Pause game and play specified video from Video folder. Video can end sooner by specified time, otherwise pass 0.
Arguments: STRING rVideoFN, SINGLE rEndTimeBeforeEnd
Arguments: STRING rName
Returns: STRING
Arguments: STRING rName
Returns: STRING
Arguments: STRING rName
Returns: STRING
Returns: STRING
Arguments: STRING val
Returns: STRING
Arguments: STRING val
Returns: STRING
Arguments: STRING val
Returns: STRING
Returns: STRING
Returns: STRING
Returns: STRING
Arguments: STRING rName
Arguments: STRING rName
Arguments: STRING rName
Arguments: STRING rName
Arguments: STRING rSceneFN
Returns: BOOLEAN
Arguments: BOOLEAN val
Arguments: STRING rString
Returns: STRING
Arguments: STRING rString
Returns: STRING
Returns: SINGLE
Arguments: INT rFrequency
Returns: SINGLE
Arguments: BOOLEAN rShow
Returns: BOOLEAN
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE rSSP
Returns: SINGLE
Arguments: BOOLEAN rEnabled
Returns: BOOLEAN
Arguments: INT rValue
Returns: SINGLE
Arguments: SINGLE rRestitution
Arguments: SINGLE rElasticity
Arguments: SINGLE rValue
Returns: SINGLE
Arguments: INT rWhich, BOOLEAN rEnabled
Arguments: INT rWhich
Returns: BOOLEAN
Arguments: INT rValue
Returns: SINGLE
Arguments: INT rValue
Returns: SINGLE
Arguments: BOOLEAN rEnabled
Arguments: BOOLEAN rEnabled
Arguments: BOOLEAN rEnabled
Arguments: BOOLEAN rEnabled
Arguments: BOOLEAN rEnabled
Arguments: BOOLEAN rEnabled
Arguments: BOOLEAN rEnabled
Arguments: BOOLEAN rEnabled
Arguments: BOOLEAN rEnabled
Arguments: BOOLEAN rEnabled
Arguments: BOOLEAN rEnabled
Arguments: BOOLEAN rEnabled
Arguments: STRING rRelativeFN
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: STRING
Arguments: STRING val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: EdyBuilder
Arguments: STRING rAT
Arguments: INT rIndex
Returns: STRING
Returns: SINGLE
Arguments: STRING rBlockID, BOOLEAN rVisible
Arguments: STRING rCheckboxID, BOOLEAN rNewValue
Arguments: STRING rCheckboxID, BOOLEAN rEnabled
Arguments: STRING rRadioID, INT rNewValue
Arguments: STRING rRadioID, BOOLEAN rEnabled
Arguments: STRING rSliderID, SINGLE rNewValue
Arguments: STRING rSliderID, BOOLEAN rEnabled
Arguments: STRING rNumberID, SINGLE rNewValue
Arguments: STRING rNumberID, BOOLEAN rEnabled
Arguments: STRING rTextboxID, STRING rNewValue
Arguments: STRING rStringboxID, STRING rNewValue
Arguments: STRING rStringboxID, BOOLEAN rNewValue
Arguments: STRING rButtonID, STRING rNewValue
Arguments: STRING rButtonID, BOOLEAN rEnabled
Arguments: STRING rTextureID, STRING rNewValue
Arguments: STRING rTextureID, STRING rNewValue, VectorI rMultiTexFrags
Arguments: STRING rTextureID, BOOLEAN rEnabled
Arguments: STRING rLuaBoxID, STRING rNewValue
Arguments: STRING rLuaBoxID, BOOLEAN rNewValue
Arguments: STRING rListBoxID, STRING rNewValue, INT rSelectedIndex
Arguments: STRING rListBoxID, STRING rNewValue
Arguments: STRING rListBoxID, BOOLEAN rEnabled
Arguments: STRING rGridID, STRING rNewValue, INT rSelectedIndex
Arguments: STRING rColorID, ColorRGBA rNewValue
Arguments: STRING rColorID, ColorRGB rNewValue
Arguments: STRING rColorID, BOOLEAN rEnabled
Arguments: INT rX, INT rY, INT rR, INT rG, INT rB, INT rA
Arguments: STRING rUpdateScript, ColorRGBA rStartColor, STRING rLuaUndoStart, STRING rLuaUndoend, STRING rLuaRefresh, STRING rColorName
Arguments: STRING rUpdateScript, ColorRGB rStartColor, STRING rLuaUndoStart, STRING rLuaUndoend, STRING rLuaRefresh, STRING rColorName
Arguments: ColorRGBA rColor
Arguments: ColorRGB rColor
Arguments: INT rRevision
Arguments: STRING rString
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: STRING rLabelID, BOOLEAN rNewValue
Arguments: STRING rLabelID, STRING rNewValue
Arguments: STRING rLabelID, SINGLE rNewValue
Arguments: STRING rLabelID, VectorF rNewValue
Arguments: STRING rLabelID, VectorI rNewValue
Arguments: STRING rLabelID, ColorRGB rNewValue
Arguments: STRING rLabelID, ColorRGBA rNewValue
Arguments: STRING rLabelID, ColorRGBAF rNewValue
Arguments: STRING rLabelID, IntervalI rNewValue
Arguments: STRING rLabelID, IntervalF rNewValue
Arguments: STRING rLabelID, Line rNewValue
Arguments: STRING rLabelID, RectI rNewValue
Arguments: STRING rLabelID, RectF rNewValue
Arguments: STRING rLabelID, TimerI rNewValue
Arguments: STRING rLabelID, BOOLEAN rEnabled
Arguments: STRING rType, STRING rLabel, STRING rScript, INT rX, INT rY, INT rXX, INT rYY
Arguments: STRING rTexFN, BOOLEAN rCtrlKey, BOOLEAN rShiftKey
Arguments: STRING rDir
Arguments: STRING rDir
Returns: BOOLEAN
Arguments: STRING rSoundFN, BOOLEAN rCtrlKey, BOOLEAN rShiftKey
Arguments: STRING rDir
Arguments: STRING rDir
Returns: BOOLEAN
Arguments: STRING rBlueprintFN
Arguments: STRING rBlueprintFN, BOOLEAN rZoomEff, BlueprintLoadStyle rLoadStyle, BOOLEAN rCloseBlueprintLib
Arguments: STRING rBlueprintFN
Arguments: STRING rBlueprintFN
Returns: STRING
Arguments: STRING rPSFN
Arguments: STRING rPSFN
Arguments: STRING rName
Returns: STRING
Arguments: STRING rPSFN
Arguments: STRING rPSFN
Arguments: STRING rName
Returns: STRING
Arguments: STRING rSceneFN
Arguments: STRING rSceneFragmentFN
Arguments: INT rEditWhat, BOOLEAN rExtractWindow, INT rRequestFromWin
Arguments: PSoundSet rpSoundSet
Arguments: PSoundSetMan rpSoundSetMan
Returns: BOOLEAN
Arguments: PSoundSetMan rpSoundSetMan
Arguments: PSoundSetMan rpSoundSetMan
Returns: BOOLEAN
Arguments: INT rWhichWindow
Arguments: INT rWhichWindow
Arguments: STRING rButton, BOOLEAN rValue
Returns: STRING
Returns: STRING
Arguments: INT rWhich
Arguments: INT rWhich
Arguments: INT rWhich
Arguments: INT rIndexInTree
Returns: STRING
set name of selected material
Arguments: STRING rName
if editing material then this will change density to all MOs that use that basic material
Returns: SINGLE
Returns: STRING
Returns: SINGLE
Arguments: STRING rName
Returns: SINGLE
Arguments: INT rIndex
Returns: STRING
save physics materials data
Returns: BOOLEAN
Returns: BOOLEAN
Arguments: BOOLEAN val
Arguments: INT wh
Returns: BOOLEAN
Arguments: INT wh, BOOLEAN bit
Returns: SINGLE
Returns: SINGLE
Returns: SINGLE
Returns: SINGLE
Returns: SINGLE
Returns: SINGLE
Arguments: STRING rItemType, STRING rItemValue
Arguments: STRING rItemType
Arguments: STRING rRestrictions
Returns: STRING
Arguments: INT rMax
Returns: SINGLE
Arguments: INT rMin, INT rMax
Returns: SINGLE
Returns: BOOLEAN
Returns: SINGLE
Arguments: SINGLE rMax
Returns: SINGLE
Arguments: SINGLE rMin, SINGLE rMax
Returns: SINGLE
Arguments: SINGLE rMax
Returns: SINGLE
Arguments: SINGLE rMin, SINGLE rMax
Returns: SINGLE
Arguments: BOOLEAN rRandom
Returns: BOOLEAN
Arguments: VectorF rSize
Returns: VectorF
Arguments: VectorF rSize
Returns: VectorF
Arguments: SINGLE rOrientation
Returns: SINGLE
Arguments: SINGLE rOrientation
Returns: SINGLE
Returns: ColorRGBA
Arguments: ColorRGBA rColor
Returns: ColorRGBA
Arguments: ColorRGBA rColor
Arguments: PSoundSet rpSoundSet
Arguments: STRING rFilename
Returns: BOOLEAN
Returns: STRING
Returns: SINGLE
Arguments: SINGLE val
Returns: STRING
Returns: VectorF
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
return vector length
Returns: SINGLE
return length of vector-rToPoint
Arguments: VectorF rToPoint
Returns: SINGLE
return squared length of vector (fast for comparing lengths of vectors, sqrt doesn't need to be applied)
Returns: SINGLE
return squared length of vector-rToPoint (fast for comparing lengths of vectors, sqrt doesn't need to be applied)
Arguments: VectorF rToPoint
Returns: SINGLE
get angle of vector in angle class
Returns: Angle
get angle of vector in radians
Returns: SINGLE
Invert vector to point in opposite direction.
normalize vector to length 1
normalize vector to given length
Arguments: SINGLE rToLength
normalize vector to length 1 and return it's previous length
Returns: SINGLE
normalize vector to given length and return it's previous length
Arguments: SINGLE rToLength
Returns: SINGLE
normalized (don't change vector, return normalized)
Returns: VectorF
get vector that is normalized from this vector to length 1 (don't change this vector, only return new)
Arguments: SINGLE rToLength
Returns: VectorF
get vector that is normalized from this vector to given length (don't change this vector, only return new)
Arguments: VectorF rMorphFromVector, VectorF rMorphToVector, SINGLE rMorph
set vector to vector + (rMorphToVector-vector)*rMorph
Arguments: VectorF rMorphToVector, SINGLE rMorph
return vector that is set to: vector + (rMorphToVector-vector)*rMorph (don't change this vector, only return new)
Arguments: VectorF rMorphToVector, SINGLE rMorph
Returns: VectorF
rotate counterclockwise by angle given in radians ( Cartesian coordinate system )
Arguments: SINGLE rAngle
rotate counterclockwise by angle given in class ( Cartesian coordinate system ) (Angle)
Arguments: Angle rAngle
rotate counterclockwise by 90 degree ( Cartesian coordinate system )
rotate clockwise by angle given in radians ( Cartesian coordinate system )
Arguments: SINGLE rAngle
rotate clockwise by angle given in class ( Cartesian coordinate system ) (Angle)
Arguments: Angle rAngle
rotate clockwise by 90 degree ( Cartesian coordinate system )
get vector rotated counterclockwise by angle given in radians ( Cartesian coordinate system ) (don't change this vector, only return new)
Arguments: SINGLE rAngle
Returns: VectorF
get vector rotated counterclockwise by angle given in radians ( Cartesian coordinate system ) (don't change this vector, only return new)
Arguments: SINGLE rAngle
Returns: VectorF
get vector rotated counterclockwise by 90 degree ( Cartesian coordinate system ) (don't change this vector, only return new)
Returns: VectorF
get vector rotated clockwise by angle given in radians ( Cartesian coordinate system ) (don't change this vector, only return new)
Arguments: SINGLE rAngle
Returns: VectorF
get vector rotated clockwise by angle given in radians ( Cartesian coordinate system ) (don't change this vector, only return new)
Arguments: SINGLE rAngle
Returns: VectorF
get vector rotated clockwise by 90 degree ( Cartesian coordinate system ) (don't change this vector, only return new)
Returns: VectorF
get cross product of vector with given vector
Arguments: VectorF rWithVector
Returns: SINGLE
get dot product of vector with given vector
Arguments: VectorF rWithVector
Returns: SINGLE
Type: SINGLE
Type: SINGLE
Type: SINGLE
Type: SINGLE
Arguments: SINGLE rRadians
Type: SINGLE
Type: SINGLE
Type: SINGLE
Type: SINGLE
Type: VectorI
Type: VectorI
Type: VectorF
Type: VectorF
Type: BYTE
Type: BYTE
Type: BYTE
Type: BYTE
Type: BYTE
Type: BYTE
Type: BYTE
Returns what layer this terrain object is in.
Returns: SINGLE
Returns main texture file name.
Returns: STRING
Return mo name.
Returns: STRING
Arguments: STRING rName
Return mo ID (unique in simulation lifetime). Use this ID to store mos in your buffers instead of mo pointers, because mo can be destroyed in simulation and no more exist.(f.e. burnt, molten, broken...). To get mo by this ID use: "scene:GetMOByID(the_id)".
Returns: SINGLE
Return delta time, which is time per one frame.
Returns: SINGLE
Return 1 / delta time.
Returns: SINGLE
Return maximum velocity (scalar in m/s) that this mo reached in simulation lifetime.
Returns: SINGLE
Returns: VectorF
Returns: VectorF
Returns: SINGLE
Returns: SINGLE
Return maximum constraint that this mo reached in simulation lifetime.
Returns: SINGLE
Null measured maximum velocity, constraint,... reached.
Returns: SoundSetMan
Play a sound by specified sound set name, the sound set must be set for this mo.
Arguments: STRING rSoundSetName
Returns: Sound
Play looped sound by specified sound set name, the sound set must be set for this mo.
Arguments: STRING rSoundSetName
Returns: Sound
Stop looped sound.
Arguments: PSound rpSound
Returns: BOOLEAN
Arguments: STRING rSoundSetName
Returns: Sound
Return true if the mo is hidden. When the mo is hidden, then it doesn't solve in simulation and is not rendered.
Returns: BOOLEAN
Set hidden state to hide or un-hide the mo. If hidden, then it doesn't solve in simulation and is not rendered. If you also want to position this mo somewhere else, then call SetPositionAndOrientation before un-hiding it.
Arguments: BOOLEAN val
Hide mo, so it doesn't solve in simulation and is not rendered.
Un-hide mo, so it appears back in the in simulation and is rendered. (if is also visible - see GetInvisible). If you also want to position this mo somewhere else, then call SetPositionAndOrientation before un-hiding it.
Return true if mo is not rendered. (but still may be colliding and interacting in simulation) Also see GetHidden for a bit different state.
Returns: BOOLEAN
Set true if mo will not be rendered. (but still may be colliding and interacting in simulation) Also see SetHidden for a bit different state.
Arguments: BOOLEAN val
Return true if mo doesn't collide with anything.
Returns: BOOLEAN
Set true if mo will not collide with anything.
Arguments: BOOLEAN val
Return texture filename, with special PID suffix.
Returns: STRING
Gets the current area of this movable object's polygon, in m^2.
Returns: SINGLE
Gets the original area that the pristine polygon was when it was originally created, in m^2.
Returns: SINGLE
Gets how much of the area of the polygon remains, in normalized scalar. 1.0 means it's unscathed, 0.75 means 75% is left.
Returns: SINGLE
Gets how much of the area of the polygon has been lost, in normalized scalar. 0.0 means it's unscathed, 0.75 means 25% is left.
Returns: SINGLE
Get density of mo's material. mo's mass = area * thickness * density * 1000 * (1 - hollowness) Kg.
Returns: SINGLE
Arguments: SINGLE rDensity
Get thickness of mo. mo's mass = area * thickness * density * 1000 * (1 - hollowness) Kg.
Returns: SINGLE
Arguments: SINGLE rThickness
Get hollowness of mo. mo's mass = area * thickness * density * 1000 * (1 - hollowness) Kg.
Returns: SINGLE
Arguments: SINGLE rHollowness
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Return mass of the mo.
Returns: SINGLE
Return mass of the mo.
Returns: SINGLE
Return moment of inertia of the mo at its center of the mass.
Returns: SINGLE
Get moment of inertia multiplier. You can simulate different distribution of the mass in mo with this parameter, either more mass at center, or more mass at edges of object.
Returns: SINGLE
Set moment of inertia multiplier. You can simulate different distribution of the mass in mo with this parameter, either more mass at center, or more mass at edges of object.
Arguments: SINGLE rMomentOfInertiaMultiplier
Reutrn a number that interprets 'how much' the object was deformed.
Returns: SINGLE
Return how many times the mo have been deformed.
Returns: SINGLE
Return current position (of center of the mass)
Returns: VectorF
Return the orientation in radians.
Returns: SINGLE
Use this function to initialize mo at specified position and orientation. Consider linked objects and object penetration can appear! This function also sets velocity and acceleration to zero. If you also un-hide this mo, then call SetPositionAndOrientation before un-hiding!
Arguments: VectorF rPosition, SINGLE rOrientation
Return the velocity in m/s.
Returns: VectorF
Set velocity of the mo in m/s.
Arguments: VectorF rVelocity
Return angular velocity in rad/s.
Returns: SINGLE
Set angular velocity in rad/s.
Arguments: SINGLE rAngularVelocity
Returns: VectorF
Returns: SINGLE
Get current acceleration vector (in m/s), that will be added to mo in next frame.
Returns: VectorF
Add acceleration vector to the center of the mass of this mo (in m/s)
Arguments: VectorF rAcceleration
Get current angular acceleration at center of the mass of this mo (in m/s), that will be added to mo in next frame.
Returns: SINGLE
Add angular acceleration at the center of the mass of this mo (in m/s)
Arguments: SINGLE rAngularAcceleration
Return air friction coefficient for this mo.
Returns: SINGLE
Set air friction coefficient for this mo.
Arguments: SINGLE val
Return angular air friction coefficient for this mo.
Returns: SINGLE
Set angular air friction coefficient for this mo.
Arguments: SINGLE val
Return world point transformed from specified local point, by mo's position and orientation.
Arguments: VectorF rWorldPoint
Returns: VectorF
Return local point transformed from specified world point, by mo's position and orientation.
Arguments: VectorF rLocalPoint
Returns: VectorF
Return velocity of mo's local point, transformed from mo's velocity at center of its mass and angular velocity.
Arguments: VectorF rLocalPoint
Returns: VectorF
Return velocity of mo's world point, transformed from mo's velocity at center of its mass and angular velocity.
Arguments: VectorF rWorldPoint
Returns: VectorF
Return true if this mo is allowed to sleep (when not moving then sleeping and so not solved by physics solver)
Returns: BOOLEAN
Set if this mo is allowed to sleep (when not moving then sleeping and so not solved by physics solver)
Arguments: BOOLEAN val
Return true if sleeping of this mo is denied if attached to any joint.
Returns: BOOLEAN
Set if sleeping of this mo is denied if attached to any joint.
Arguments: BOOLEAN val
Returns true if this mo is flagged to be changed to shards.
Returns: BOOLEAN
Set to true to change this mo to shards in next frame.
Arguments: BOOLEAN val
Arguments: SINGLE rWidth
Returns: SINGLE
Arguments: SINGLE rWidth
Returns: SINGLE
Return true if this mo is currently sleeping (not moving and so not solved by physics solver)
Returns: BOOLEAN
Return how gravity act on this movable object as a vector.
Returns: VectorF
Return the angle as an angle object of the gravity vector that act on this movable object.
Returns: Angle
Return the angle in radians of the gravity vector that act on this movable object.
Returns: SINGLE
Return true if gravity is applied to mo.
Returns: BOOLEAN
Set whether gravity will be applied to mo.
Arguments: BOOLEAN val
Return true if the mo is atomizable.
Returns: BOOLEAN
Set whether this mo will be atomizable or not at all.
Arguments: BOOLEAN val
Return how much Aurium (A) is in this mo.
Returns: SINGLE
Set Aurium (A) amount for this mo.
Arguments: SINGLE rA
Ask to consume Aurium (A) from this mo and return how much was consumed. If mo contains less aurium than specified then this function returns available amount to be consumed. Returns zero if there is no Aurium.
Arguments: SINGLE rA
Returns: SINGLE
Return a rotated copy of the input vector counterclockwise by the angle of the gravity vector + pi/2.
Arguments: VectorF rVector
Returns: VectorF
Return the angle in radians of the input angle rotated counterclockwise by the angle of the gravity vector + pi/2.
Arguments: SINGLE rAngle
Returns: SINGLE
Return a rotated copy of the input vector clockwise by the angle of the gravity vector + pi/2.
Arguments: VectorF rVector
Returns: VectorF
Return the angle in radians of the input angle rotated clockwise by the angle of the gravity vector + pi/2.
Arguments: SINGLE rAngle
Returns: SINGLE
! Deprecated, you should use AddAngularAcceleration, ForceMOAtLocalPoint, etc... ( Add angular acceleration so the movable object face the angle set by ) (SetBalanceToAngle())
Arguments: BOOLEAN rBalancer
! Deprecated, you should use AddAngularAcceleration, ForceMOAtLocalPoint, etc... ( Return true if balancing is on )
Returns: BOOLEAN
! Deprecated, you should use AddAngularAcceleration, ForceMOAtLocalPoint, etc... ( Return the angle this movable object is rotated towards )
Returns: SINGLE
! Deprecated, you should use AddAngularAcceleration, ForceMOAtLocalPoint, etc... ( Set the angle this movable object should be rotated towards )
Arguments: SINGLE val
! Deprecated, you should use AddAngularAcceleration, ForceMOAtLocalPoint, etc... ( Return power (acceleration) of mo balancer )
Returns: SINGLE
! Deprecated, you should use AddAngularAcceleration, ForceMOAtLocalPoint, etc... ( Set power (acceleration) of mo balancer )
Arguments: SINGLE val
! Deprecated, you should use AddAngularAcceleration, ForceMOAtLocalPoint, etc... ( Return if the balancer is style 2 )
Returns: BOOLEAN
! Deprecated, you should use AddAngularAcceleration, ForceMOAtLocalPoint, etc... ( Set true for using balancer style 2 )
Arguments: BOOLEAN val
Deprecated! Use GetCollidedWithMOorTO instead.
Returns: BOOLEAN
Returns true if this mo collided with any mo in current frame. Reporting of colliding MOs doesn't need to be switched ON for using this function.
Returns: BOOLEAN
Returns true if this mo collided with terrain in current frame. Reporting of colliding MOs doesn't need to be switched ON for using this function.
Returns: BOOLEAN
Returns true if this mo collided with terrain or any mo in current frame. Reporting of colliding MOs doesn't need to be switched ON for using this function.
Returns: BOOLEAN
Returns the collided if collided with any in this frame. (MO)
Returns: MO
Return true if this mo is set to bounce off mo by specified CollideID (different that ID, see ). Colliding flags are more advanced, depends on setting of this BouncesOffMO, assembly-BouncesOffMO, assembly-BouncesOffAssembly, this-FlyOutMO, assembly-FlyOutMO, assembly-FlyOutAssembly. (GetCollideID())
Arguments: INT rMOCollideID
Returns: BOOLEAN
Set whether this mo will collide with mo by specified CollideID (different that ID, see ). Colliding flags are more advanced, depends on setting of this BouncesOffMO, assembly-BouncesOffMO, assembly-BouncesOffAssembly, this-FlyOutMO, assembly-FlyOutMO, assembly-FlyOutAssembly. (GetCollideID())
Arguments: INT rMOCollideID, BOOLEAN rDoCollide
Return assembly to which this mo is linked.
Returns: Assembly
Return name of assembly that is linked to this mo, or empty string if not linked to assembly.
Returns: STRING
Return total weight of assembly that is linked to this mo.
Returns: SINGLE
Return table of linked joints.
Returns: SINGLE
Return table of linked mount joints.
Returns: SINGLE
Return table of linked mount joints those are mounted.
Returns: SINGLE
Return table of linked mount joints those are not mounted.
Returns: SINGLE
Return true if this mo is directly jointed to specified mo.
Arguments: PMO rpMO, BOOLEAN rIgnoreGearJoint, BOOLEAN rIgnoreMountJoints
Returns: BOOLEAN
Return true if this mo is somehow jointed to specified mo, might be jointed to some mo that is jointed to the specified mo.
Arguments: PMO rpMO, BOOLEAN rIgnoreGearJoints, BOOLEAN rIgnoreMountJoints
Returns: BOOLEAN
Return true if this mo is jointed to world by any linked joint.
Returns: BOOLEAN
Return whether mo can be deformed by 'bullet deform' caused by particle.
Returns: SINGLE
Set whether mo can be deformed by 'bullet deform' caused by particle.
Arguments: SINGLE val
Return restitution of mo with other mos. (0..1)
Returns: SINGLE
Set restitution of mo with other mos. (0..1)
Arguments: SINGLE rRestitution
Return restitution of mo with terrain. (0..1)
Returns: SINGLE
Set restitution of mo with terrain. (0..1)
Arguments: SINGLE rRestitution
Get slippery of mo's edge (0..1). Slippery = 1 - Friction.
Returns: SINGLE
Set slippery of mo's edge (0..1). Slippery = 1 - Friction.
Arguments: SINGLE rSlippery
Set friction of mo's edge (0..1 where 1 is full friction and 0 is full slippery)
Arguments: SINGLE rFriction
Return friction of mo's edge (0..1 where 1 is full friction and 0 is full slippery)
Returns: SINGLE
Returns: SINGLE
Arguments: SINGLE val
Return frozen state. If frozen then it's easier to break and sets all attached joints to frozen.
Returns: BOOLEAN
Return current average temperature of mo. (all mo's triangles temperature) (cached, fast function, not searching through triangles)
Returns: SINGLE
Return temperature value under which this mo gets frozen. The value is read from mo's material.
Returns: SINGLE
Return general power of plastic deformation of object.
Returns: SINGLE
Set general power of plastic deformation of object.
Arguments: SINGLE rDeformPower
Return minimal impulse of force under which the object will not be deformed.
Returns: SINGLE
Set minimal impulse of force under which the object will not be deformed.
Arguments: SINGLE rMinimalImpulseToDeform
Return whether breaking of the mo is allowed.
Returns: BOOLEAN
Set whether breaking of the mo is allowed.
Arguments: BOOLEAN val
Return true if plastic deformation is allowed on the mo.
Returns: BOOLEAN
Set true to allow plastic deformation on the mo.
Arguments: BOOLEAN rAllow
Return impulse under which the mo's hull will not be broken.
Returns: SINGLE
Set impulse under which the mo's hull will not be broken.
Arguments: SINGLE rMinimalImpulseToBreakHull
Return impulse under which the mo's core will not be broken.
Returns: SINGLE
Set impulse under which the mo's core will not be broken.
Arguments: SINGLE rMinimalImpulseToBreakCore
Return whether mo's core can be broken. (mo has defined inner triangles as a core and outer triangles as a hull, depending on hull width parameter)
Returns: BOOLEAN
Set whether mo's core can be broken. (mo has defined inner triangles as a core and outer triangles as a hull, depending on hull width parameter)
Arguments: BOOLEAN val
Return angle (in rad) that rotates line of breaking the mo on each next polygon inner point ( 0 means straight break line, +-number means the break line will be curved) (This works together with GetBreakLineRandomizer)
Returns: SINGLE
Set angle (in rad) that rotates line of breaking the mo on each next polygon inner point ( 0 means straight break line, +-number means the break line will be curved) (This works together with GetBreakLineRandomizer)
Arguments: SINGLE val
Return angle (in rad) that randomly rotates line of breaking the mo on each next polygon inner point ( 0 means straight break line, +-number means the break line will be zig-zag-ed randomly) (This works together with BreakLineDirectionShifter)
Returns: SINGLE
Set angle (in rad) that randomly rotates line of breaking the mo on each next polygon inner point ( 0 means straight break line, +-number means the break line will be zig-zag-ed randomly) (This works together with BreakLineDirectionShifter)
Arguments: SINGLE val
Return number of parts to whose the mo can be broken in one hit.
Returns: SINGLE
Set number of parts to whose the mo can be broken in one hit (2 or more)
Arguments: SINGLE rBreakMOMoreTimes
Return a multiplier that multiplies minimal impulse to break mo right after the mo is broken.
Returns: SINGLE
Set a multiplier that multiplies minimal impulse to break mo right after the mo is broken.
Arguments: SINGLE val
Return a multiplier that multiplies break-to-X-parts right after the mo is broken.
Returns: SINGLE
Set a multiplier that multiplies break-to-X-parts right after the mo is broken.
Arguments: SINGLE val
Return true if this mo will not collide with other mos at all.
Returns: BOOLEAN
Set true if this mo will not collide with other mos at all.
Arguments: BOOLEAN val
Return true if this mo will not collide with linked assembly at all.
Returns: BOOLEAN
Set true if this mo will not collide with linked assembly at all.
Arguments: BOOLEAN val
Get intensity of motion blur applied when the mo is rendered.
Returns: SINGLE
Set intensity of motion blur applied when the mo is rendered. (0 means no motion blur, 1 means normal motion blur, can also specify bigger number)
Arguments: SINGLE rValue
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: STRING
Arguments: STRING val
Returns: SINGLE
Returns: SINGLE
Returns: SINGLE
Returns: SINGLE
Returns: SINGLE
Returns: SINGLE
Returns: SINGLE
Returns: SINGLE
Set render scale to render mo larger, smaller or stretched. Original polygon is scaled at the center of its mass, before rotated by orientation and placed by position. Default value is (1.0,1.0), which means 100% scale. (VectorF)
Arguments: VectorF val
Return render scale of this mo.
Returns: VectorF
Return displacement of this mo when rendering it.
Returns: VectorF
Set displacement of mo when rendering it.
Arguments: VectorF val
Returns: BOOLEAN
Arguments: BOOLEAN rAllow
Returns: SINGLE
Arguments: SINGLE val
Returns: BOOLEAN
Arguments: BOOLEAN rAllow
Returns: SINGLE
Arguments: SINGLE val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN rAllow
Returns: SINGLE
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: SINGLE
Arguments: SINGLE val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: SINGLE
Arguments: SINGLE val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: SINGLE
Arguments: SINGLE val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: SINGLE
Arguments: SINGLE val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: SINGLE
Arguments: SINGLE val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: SINGLE
Arguments: SINGLE val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: SINGLE
Arguments: SINGLE val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: SINGLE
Arguments: SINGLE val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: SINGLE
Arguments: SINGLE val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: SINGLE
Arguments: SINGLE val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: SINGLE
Arguments: SINGLE val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: SINGLE
Arguments: SINGLE val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: SINGLE
Arguments: SINGLE val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: SINGLE
Arguments: INT val
Push this mo at its local point with specified velocity and weight.
Arguments: VectorF rMOLocalPoint, VectorF rPushVelocity, SINGLE rPushWeight
Push this mo at its local point with specified force vector.
Arguments: VectorF rMOLocalPoint, VectorF rForce
Push this mo at world point with specified velocity and weight.
Arguments: VectorF rMOWorldPoint, VectorF rPushVelocity, SINGLE rPushWeight
Push this mo at world point with specified force vector.
Arguments: VectorF rMOWorldPoint, VectorF rForce
Push this mo at its local point with specified force vector.
Arguments: VectorF rMOLocalPoint, VectorF rForce
Push this mo at world point with specified force vector.
Arguments: VectorF rMOWorldPoint, VectorF rForce
Return whether collided MOs are reported by this mo.
Returns: BOOLEAN
Set to true if you want to get collided MOs table by mo: (GetCollidedMOs())
Arguments: BOOLEAN val
Return table of collided MOs.
Returns: SINGLE
Return table of Assemblies collided with this mo.
Returns: SINGLE
Return whether collided particles are reported by this mo.
Returns: BOOLEAN
Set to true if you want to get collided PSs table by mo: (GetCollidedPSs())
Arguments: BOOLEAN val
Return table of collided PSs.
Returns: SINGLE
! Deprecated, use ForceMOAtWorldPoint, ForceMOAtLocalPoint, AddAcceleration, AddAngularAcceleration or other functions
Arguments: VectorF rToPnt, BOOLEAN rTwiceStrong
! Deprecated, use ForceMOAtWorldPoint, ForceMOAtLocalPoint, AddAcceleration, AddAngularAcceleration or other functions
Arguments: VectorF rToPnt
! Deprecated, use ForceMOAtWorldPoint, ForceMOAtLocalPoint, AddAcceleration, AddAngularAcceleration or other functions
Arguments: BOOLEAN rLeft
! Deprecated, use ForceMOAtWorldPoint, ForceMOAtLocalPoint, AddAcceleration, AddAngularAcceleration or other functions
Arguments: VectorF rPull
Arguments: VectorF rPoint1, VectorF rPoint2, ColorRGBA rColor
Arguments: VectorF rFromPoint, VectorF rVector, ColorRGBA rColor
Set true if mo will not be rendered. (but still may be colliding and interacting in simulation)
Arguments: BOOLEAN val
Set true if mo will not collide with anything.
Arguments: BOOLEAN val
Set velocity of the mo in m/s.
Arguments: VectorF rVelocity
Set angular velocity in rad/s.
Arguments: SINGLE rAngularVelocity
Add acceleration vector to the center of the mass of this mo (in m/s)
Arguments: VectorF rAcceleration
Add angular acceleration at the center of the mass of this mo (in m/s)
Arguments: SINGLE rAngularAcceleration
Set air friction coefficient for mo.
Arguments: SINGLE val
Set angular air friction coefficient for mo.
Arguments: SINGLE val
Set if this mo is allowed to sleep (when not moving then sleeping and so not solved by physics solver)
Arguments: BOOLEAN val
Set if sleeping of this mo is denied if attached to any joint.
Arguments: BOOLEAN val
Set whether gravity will be applied to mo.
Arguments: BOOLEAN val
Set whether this mo will be atomizable or not at all.
Arguments: BOOLEAN val
! Deprecated, you should use AddAngularAcceleration, ForceMOAtLocalPoint, etc... ( Add angular acceleration so the movable object face the angle set by ) (SetBalanceToAngle())
Arguments: BOOLEAN rBalancer
! Deprecated, you should use AddAngularAcceleration, ForceMOAtLocalPoint, etc... ( Set the angle this movable object should be rotated towards )
Arguments: SINGLE val
! Deprecated, you should use AddAngularAcceleration, ForceMOAtLocalPoint, etc... ( Set power (acceleration) of mo balancer )
Arguments: SINGLE val
! Deprecated, you should use AddAngularAcceleration, ForceMOAtLocalPoint, etc... ( Set true for using balancer style 2 )
Arguments: BOOLEAN val
Set whether this mo will collide with mo by specified CollideID (different that ID, see GetCollideID()). Colliding flags are more advanced, depends on setting of this BouncesOffMO, assembly-BouncesOffMO, assembly-BouncesOffAssembly, this-FlyOutMO, assembly-FlyOutMO, assembly-FlyOutAssembly.
Arguments: INT rMOCollideID, BOOLEAN rDoCollide
Set whether mo can be deformed by 'bullet deform' caused by particle.
Arguments: SINGLE val
Set restitution of mo with other mos. (0..1)
Arguments: SINGLE rRestitution
Set restitution of mo with terrain. (0..1)
Arguments: SINGLE rRestitution
Set slippery of mo's edge (0..1). Slippery = 1 - Friction.
Arguments: SINGLE rSlippery
Set friction of mo's edge (0..1 where 1 is full friction and 0 is full slippery)
Arguments: SINGLE rFriction
Set general power of plastic deformation of object.
Arguments: SINGLE rDeformPower
Set minimal impulse of force under which the object will not be deformed.
Arguments: SINGLE rMinimalImpulseToDeform
Set whether breaking of the mo is allowed.
Arguments: BOOLEAN val
Set true to allow plastic deformation on the mo.
Arguments: BOOLEAN rAllow
Set impulse under which the mo's hull will not be broken.
Arguments: SINGLE rMinimalImpulseToBreakHull
Set impulse under which the mo's core will not be broken.
Arguments: SINGLE rMinimalImpulseToBreakCore
Set whether mo's core can be broken. (mo has defined inner triangles as a core and outer triangles as a hull, depending on hull width parameter)
Arguments: BOOLEAN val
Set angle (in rad) that rotates line of breaking the mo on each next polygon inner point ( 0 means straight break line, +-number means the break line will be curved) (This works together with GetBreakLineRandomizer)
Arguments: SINGLE val
Set angle (in rad) that randomly rotates line of breaking the mo on each next polygon inner point ( 0 means straight break line, +-number means the break line will be zig-zag-ed randomly) (This works together with BreakLineDirectionShifter)
Arguments: SINGLE val
Set number of parts to whose the mo can be broken in one hit (2 or more)
Arguments: SINGLE rBreakMOMoreTimes
Set a multiplier that multiplies minimal impulse to break mo right after the mo is broken.
Arguments: SINGLE val
Set a multiplier that multiplies break-to-X-parts right after the mo is broken.
Arguments: SINGLE val
Set true if this mo will not collide with other mos at all.
Arguments: BOOLEAN val
Set true if this mo will not collide with linked assembly at all.
Arguments: BOOLEAN val
Set intensity of motion blur applied when the mo is rendered. (0 means no motion blur, 1 means normal motion blur, can also specify bigger number)
Arguments: SINGLE rValue
Set to true if you want to get collided MOs table by mo:GetCollidedMOs()
Arguments: BOOLEAN val
Set to true if you want to get collided PSs table by mo:GetCollidedPSs()
Arguments: BOOLEAN val
Set render scale to render mo larger, smaller or stretched. Original polygon is scaled at the center of its mass, before rotated by orientation and placed by position. Default value is (1.0,1.0), which means 100% scale. (VectorF)
Arguments: VectorF val
Set displacement of mo when rendering it.
Arguments: VectorF val
Set hidden state to hide or un-hide the mo. If hidden, then it doesn't solve in simulation and is not rendered. If you also want to position this mo somewhere else, then call SetPositionAndOrientation before un-hiding it.
Arguments: BOOLEAN val
Hide mo, so it doesn't solve in simulation and is not rendered.
Un-hide mo, so it appears back in the in simulation and is rendered. (if is also visible - see GetInvisible). If you also want to position this mo somewhere else, then call SetPositionAndOrientation before un-hiding it.
Set moment of inertia multiplier. You can simulate different distribution of the mass in mo with this parameter, either more mass at center, or more mass at edges of object.
Arguments: SINGLE rMomentOfInertiaMultiplier
Use this function to initialize mo at specified position and orientation. Consider linked objects and object penetration can appear! This function also sets velocity and acceleration to zero. If you also un-hide this mo, then call SetPositionAndOrientation before un-hiding!
Arguments: VectorF rPosition, SINGLE rOrientation
Set to true to change this mo to shards in next frame.
Arguments: BOOLEAN val
emits one particle by emitter settings. returns the index of the new particle or -1 if no particle was created
Returns: SINGLE
emits more particles by settings, but later! this just sets mEmitBoomNow to true
Returns: STRING
Arguments: STRING rName
Return ID, unique in simulation lifetime. Child returns ID of top parent .
Returns: SINGLE
Returns: SINGLE
Returns: SINGLE
Arguments: INT rLayer
Arguments: VectorF rVector
Returns: STRING
deletes all particles
Returns: STRING
Arguments: STRING rRelativeFN
Returns: VectorI
Arguments: VectorI rValue
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: VectorF
Arguments: VectorF rPosition
Arguments: SINGLE rX
Arguments: SINGLE rY
Returns: VectorF
Arguments: SINGLE rX
Arguments: SINGLE rY
Arguments: INT rWhich
Returns: SINGLE
Returns: SINGLE
Arguments: SINGLE val
Returns: IntervalF
Arguments: SINGLE rValue
Arguments: SINGLE rValue
Arguments: IntervalF rSpeedMul
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: IntervalF
Arguments: SINGLE rValue
Arguments: SINGLE rValue
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: BOOLEAN
Arguments: BOOLEAN rDeleteWhenEmpty
Returns: SINGLE
Arguments: INT val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: SINGLE
Arguments: INT rParticleRotationStyle
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: SINGLE
Arguments: SINGLE val
Arguments: BOOLEAN val
Returns: BOOLEAN
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: ColorRGBA
Arguments: ColorRGBA val
Returns: ColorRGBA
Arguments: ColorRGBA val
Returns: SINGLE
Arguments: INT rValue
Returns: BOOLEAN
Arguments: BOOLEAN val
Arguments: BOOLEAN rParticleEmitting
Returns: BOOLEAN
Returns: IntervalF
Arguments: IntervalF val
Arguments: SINGLE val
Arguments: SINGLE val
Returns: SINGLE
Arguments: INT val
Arguments: BOOLEAN rBoom
Returns: BOOLEAN
Returns: IntervalI
Arguments: INT val
Arguments: INT val
Returns: SINGLE
Arguments: SINGLE rValue
Returns: SINGLE
Arguments: SINGLE val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: IntervalF
Arguments: IntervalF val
Returns: IntervalF
Arguments: IntervalF val
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN rAllowPenetrating
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: SINGLE
Arguments: SINGLE val
Arguments: STRING rRelativeFN
Returns: STRING
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: IntervalF
Arguments: IntervalF val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: ColorRGBA
Arguments: ColorRGBA val
Returns: ColorRGBA
Arguments: ColorRGBA val
Returns: SINGLE
Arguments: INT val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: SRotation
Arguments: PSRotation val
Returns: SINGLE
Arguments: SINGLE val
Returns: BOOLEAN
Arguments: BOOLEAN val
Arguments: INT rWhich
Returns: SINGLE
Returns: BOOLEAN
Arguments: BOOLEAN rAllowTrail
Returns: SINGLE
Arguments: SINGLE rValue
Arguments: BOOLEAN rRender
Returns: BOOLEAN
Arguments: BOOLEAN rRender
Returns: BOOLEAN
Arguments: BOOLEAN rRender
Returns: BOOLEAN
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: STRING
Arguments: STRING val
Returns: SINGLE
Arguments: INT val
Returns: ColorRGBA
Arguments: ColorRGBA rColor
Returns: ColorRGBA
Arguments: ColorRGBA rColor
Returns: BOOLEAN
Arguments: BOOLEAN rInherit
Returns: BOOLEAN
Arguments: BOOLEAN rInherit
Returns: BOOLEAN
Arguments: BOOLEAN rAllowTrail
Returns: IntervalF
Arguments: IntervalF val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: IntervalF
Arguments: IntervalF rFPS
Returns: SINGLE
Arguments: INT rFrameAnimLoopType
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: IntervalF
Arguments: IntervalF rSizing
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: VectorF
Arguments: VectorF rVector
Returns: BOOLEAN
Arguments: BOOLEAN rUse
Arguments: SINGLE rRatio
Returns: SINGLE
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: VectorF
Arguments: VectorF rVector
Returns: SINGLE
Arguments: SINGLE rPower
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: IntervalF
Arguments: IntervalF val
Returns: IntervalF
Arguments: IntervalF val
Returns: BOOLEAN
Arguments: BOOLEAN rDoLifeTime
Returns: IntervalF
Arguments: IntervalF val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: IntervalF
Arguments: IntervalF val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: SINGLE
Arguments: INT val
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: INT val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: IntervalF
Arguments: IntervalF val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: ColorRGB
Arguments: ColorRGB val
Returns: ColorRGB
Arguments: ColorRGB val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: IntervalF
Arguments: IntervalF val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BYTE
Arguments: BYTE val
Returns: BYTE
Arguments: BYTE val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: PS
Arguments: INT rIndex
Returns: SINGLE
Returns: STRING
Returns: SINGLE
Returns: STRING
Arguments: INT rIndex
Returns: PS
Returns: PS
Returns: SINGLE
Returns: STRING
Arguments: STRING rName
Returns: PS
Returns: PS
Returns to which this is linked. If this is a child , then it returns top parent 's linked .
Returns: MO
Returns: BOOLEAN
Arguments: BOOLEAN rDoMoveByLinkedMO
Returns: BOOLEAN
Arguments: BOOLEAN rDoRotateByLinkedMO
Returns: BOOLEAN
Arguments: BOOLEAN rDoRotateByLinkedMO
Returns: VectorF
Arguments: VectorF rMOLinkLocalPoint
Returns: SINGLE
Arguments: SINGLE rMOLinkLocalDir
Returns: BOOLEAN
Arguments: BOOLEAN rRenderBehind
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns to which this is linked. If this is a child , then it returns top parent 's linked .
Returns: Assembly
Arguments: STRING rSoundSetName
Returns: Sound
Arguments: STRING rSoundSetName
Returns: Sound
Arguments: PSound rpSound
Returns: BOOLEAN
Arguments: STRING rSoundSetName
Returns: Sound
Returns: SoundSetMan
Returns: STRING
Arguments: STRING val
Returns: STRING
Arguments: STRING val
Returns: STRING
Arguments: STRING val
Returns: STRING
Arguments: STRING val
Returns: STRING
Arguments: STRING val
Returns: STRING
Arguments: STRING val
Returns: STRING
Arguments: STRING val
Returns: SINGLE
Arguments: SINGLE val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE rValue
Returns: SINGLE
Arguments: SINGLE rValue
Returns: BOOLEAN
Arguments: BOOLEAN rValue
Returns: BOOLEAN
Arguments: BOOLEAN rValue
Return whether collided MOs are reported by this (applied automatically on top parent , child PSs are reporting collisions to top parent )
Returns: BOOLEAN
Set to true if you want to get collided MOs table by : (applied automatically on top parent , child PSs are reporting collisions to top parent )
Arguments: BOOLEAN val
Return table of collided MOs (applied automatically on top parent , child PSs are reporting collisions to top parent )
Returns: SINGLE
Return table of Assemblies collided with this . (applied automatically on top parent , child PSs are reporting collisions to top parent )
Returns: SINGLE
Return true if the ps is hidden. When it is hidden, then it doesn't solve in simulation and is not rendered.
Returns: BOOLEAN
Set to true if the ps should be hidden. When it is hidden, then it doesn't solve in simulation and is not rendered.
Arguments: BOOLEAN val
Hide ps, so it is not solved in solver and not rendered.
Un-hide ps, so it becomes solved in solver and rendered.
Sets the elapsed time and time limit, in seconds.
Arguments: SINGLE rCurrentTime, SINGLE rTimeLimit
Returns the elapsed time, in seconds.
Returns: SINGLE
Sets the elapsed time, in seconds.
Arguments: SINGLE rTime
Returns the time limit, in seconds.
Returns: SINGLE
Sets the time limit, in seconds.
Arguments: SINGLE rTime
Returns the elapsed time divided by the time limit (1 if the time limit is reached). Returns 0 if no limit is set, in seconds.
Returns: SINGLE
Returns the 1.0 - , in seconds. (GetMorphTime())
Returns: SINGLE
Returns true if the elapsed time >= rTime.
Arguments: SINGLE rTime
Returns: BOOLEAN
Returns true if the timer is unpaused and the time limit has not been reached.
Returns: BOOLEAN
Returns true if the time limit has been reached.
Returns: BOOLEAN
Returns true if the timer is paused.
Returns: BOOLEAN
Paused/unpause the timer.
Arguments: BOOLEAN rPaused
Unpause the timer.
Pause the timer.
Unpause the timer.
Returns: BOOLEAN
Arguments: BOOLEAN rLooping
Sets the elapsed time to zero and sets a new time limit, in seconds.
Arguments: SINGLE rTimeLimit
Sets the elapsed time to zero.
Add rTimePassed to the elapsed time, in seconds.
Arguments: SINGLE rTimePassed
Returns: STRING
Arguments: STRING rName
Return true if specified chars equal to the same amount of chars of this mo's name. This functions always returns true if you specify empty string.
Arguments: STRING rChars
Returns: BOOLEAN
Returns: SINGLE
Return delta time, which is time per one frame.
Returns: SINGLE
Return 1 / delta time.
Returns: SINGLE
Set true to joint to be dead - still existing, but all joint features are OFF.
Arguments: BOOLEAN rDead
Returns: BOOLEAN
! Deprecated, use . Return true if this joint pins mo to world position (instead of pinning two mos) (GetWorldJoint())
Returns: BOOLEAN
Return true if this joint pins mo to world position (instead of pinning two mos)
Returns: BOOLEAN
Return true if this joint is a gear joint. also see gear ratio between two linked object - GetGearRatio.
Returns: BOOLEAN
Return true if this joint is a gear joint. also see gear ratio between two linked object - GetGearRatio.
Returns: BOOLEAN
Set to true for the joint to be a gear joint. also see gear ratio between two linked object - GetGearRatio.
Arguments: BOOLEAN rIsGearJoint
Set gear joint and gear ratio. (see SetGearJoint and SetGearRatio)
Arguments: BOOLEAN rIsGearJoint, SINGLE rGearRatio
Return gear ratio between two linked mos. Gear ratio 1 means that the linked objects will rotate the same speed. Gear ratio 0.5 means that the linked object A will rotate twice as fast as object B. Gear ratio 2 means object B will rotate twice faster than object A.
Returns: SINGLE
Set gear ratio between two linked mos. Gear ratio 1 means that the linked objects will rotate the same speed. Gear ratio 0.5 means that the linked object A will rotate twice as fast as object B. Gear ratio 2 means object B will rotate twice faster than object A.
Arguments: SINGLE rGearRatio
Return relative angle between two objects for the angular spring to rest.
Returns: SINGLE
Set relative angle between two objects for the angular spring to rest.
Arguments: SINGLE rValue
Return power of the angular spring.
Returns: SINGLE
Set power of the angular spring.
Arguments: SINGLE rValue
Set angular spring power and angle.
Arguments: SINGLE rSpringPower, SINGLE rSpringAngle
Fade angular spring angle from current angle to specified angle, by specified time.
Arguments: SINGLE rToAngle, SINGLE rFadeTime
Fade angular spring angle from current angle to angle defined in pose by specified name, by specified time.
Arguments: STRING rByPose, SINGLE rFadeTime
Return true if angular spring fading the angle finished in this frame.
Returns: BOOLEAN
Return true if angular spring is fading angle now, caused by FadeAngularSpring or FadeAngularSpringByPose.
Returns: BOOLEAN
Return true if angular spring is fading the angle is paused now.
Returns: BOOLEAN
Set true to pause or false to resume angular spring fading the angle.
Arguments: BOOLEAN rPaused
Return angle limit by which the joint breaks. - right side of the limit (clockwise from center)
Returns: SINGLE
Set angle limit by which the joint breaks. - right side of the limit (clockwise from center)
Arguments: SINGLE val
Return angle limit by which the joint breaks. - left side of the limit (counter clockwise from center)
Returns: SINGLE
Set angle limit by which the joint breaks. - left side of the limit (counter clockwise from center)
Arguments: SINGLE val
Return angular spring angle by pose found by specified name.
Arguments: STRING rPose
Returns: SINGLE
Set angular spring angle by pose found by specified name.
Arguments: STRING rPose
Return angular friction at the joint between two linked objects.
Returns: SINGLE
Set angular friction at the joint between two linked objects.
Arguments: SINGLE rFriction
Set this joint to be a slide joint. Slide joint can slide between two points, see SetSlidePoint1, SetSlidePoint2.
Arguments: BOOLEAN val
Return true if this is a slide joint. Slide joint can slide between two points, see SetSlidePoint1, SetSlidePoint2.
Returns: BOOLEAN
Return point 1 of the slide joint (local, on linked mo A). Slide joint can slide between two points.
Returns: VectorF
Set point 1 of the slide joint (local, on linked mo A). Slide joint can slide between two points.
Arguments: VectorF val
Return point 2 of the slide joint (local, on linked mo A). Slide joint can slide between two points.
Returns: VectorF
Set point 2 of the slide joint (local, on linked mo A). Slide joint can slide between two points.
Arguments: VectorF val
Return current slide position 0..1 range between slide points 1 and 2.
Returns: SINGLE
Set to true to cramp the slide (see SetSlideJoint). When cramped, then it is not allowed to slide between two slide points.
Arguments: BOOLEAN rCramp
Return true if sliding joint is cramped (see SetSlideJoint). When cramped, then it is not allowed to slide between two slide points.
Returns: BOOLEAN
Return friction on the slide 0..1 where 0 is fully slippy, 1 is full friction.
Returns: SINGLE
Set friction on the slide 0..1 where 0 is fully slippy, 1 is full friction.
Arguments: SINGLE val
Apply force on a slide to push it in direction from slide point 1 to point 2 or opposite.
Arguments: SINGLE rForce
Apply force on a slide to push it to specified target position (0..1 range between slide point 1 and point 2). If the last parameter is true then it cramps slide joint when it gets to target position (see GetSlideCramp)
Arguments: SINGLE rTargetPosition, SINGLE rForce, BOOLEAN rCrampSlideWhenAtTarget
Return true if the slide joint is now forcing the slide to some target position (see SlideForceToPosition).
Returns: BOOLEAN
Set to true if the slide joint should now force the slide to some target position (see SlideForceToPosition).
Arguments: BOOLEAN val
Return the force of forcing the slide joint to some target position (see SlideForceToPosition).
Returns: SINGLE
Set the force of forcing the slide joint to some target position (see SlideForceToPosition).
Arguments: SINGLE val
Return the target position (0..1) to where this is forcing the slide joint (see SlideForceToPosition).
Returns: SINGLE
Set the target position (0..1) to where this will be forcing the slide joint (see SlideForceToPosition).
Arguments: SINGLE val
Return whether slide joint will be cramped when it gets to the target position (0..1) (see SlideForceToPosition).
Returns: BOOLEAN
Set whether slide joint will be cramped when it gets to the target position (0..1) (see SlideForceToPosition).
Arguments: BOOLEAN val
Enable/disable this joint to be used as a motor.
Arguments: BOOLEAN rEnabled, SINGLE rPower, SINGLE rMaxSpeed
Enable/disable this joint to be used as a motor.
Arguments: BOOLEAN rEnabled
Return true when the motor feature is enabled.
Returns: BOOLEAN
Set motor power.
Arguments: SINGLE rPower
Return motor power.
Returns: SINGLE
Set maximum angular velocity (relative between two linked objects) that the motor can force to.
Arguments: SINGLE rMaxSpeed
Return maximum angular velocity (relative between two linked objects) that the motor can force to.
Returns: SINGLE
Return motor wheeling value. 0 means real angular recoil between objects, -1 means only object A will be accelerated, 1 means only B will be accelerated, values between are faded.
Returns: SINGLE
Set motor wheeling value. 0 means real angular recoil between objects, -1 means only object A will be accelerated, 1 means only B will be accelerated, values between are faded.
Arguments: SINGLE val
Rotate the motor [-1..1].
Arguments: SINGLE rPercentsOfMotorPower, BOOLEAN rHoldPedal
Brake the motor [0..1].
Arguments: SINGLE rPercentsOfBrakePower
Return power of brake when braking the rotation with DoBrakeMotor.
Returns: SINGLE
Set power of brake to use when braking the rotation with DoBrakeMotor.
Arguments: SINGLE rValue
Return true if specified mo is the one linked to this joint as mo A.
Arguments: PMO rpMO
Returns: BOOLEAN
Return true if specified mo is the one linked to this joint as mo B.
Arguments: PMO rpMO
Returns: BOOLEAN
Return mo that is the one linked to this joint as mo A.
Returns: MO
Return mo that is the one linked to this joint as mo B.
Returns: MO
Return name of mo that is the one linked to this joint as mo A.
Returns: STRING
Return name of mo that is the one linked to this joint as mo B.
Returns: STRING
If specified mo is mo A or B linked to this joint, then this function returns the other mo. Otherwise returns nil.
Arguments: PMO rpThanMO
Returns: MO
Get assembly that owns this joint.
Returns: Assembly
Return local point at mo A where the joint is attached.
Returns: VectorF
Set local point at mo A where the joint is attached.
Arguments: VectorF val
Return local point at mo B where the joint is attached.
Returns: VectorF
Set local point at mo B where the joint is attached.
Arguments: VectorF val
Return the position if this is a world joint.
Returns: VectorF
If joint linked mo A is not nil, then this function return world position of the attachment point. Otherwise returns VectorF(0,0)
Returns: VectorF
If joint linked mo B is not nil, then this function return world position of the attachment point. Otherwise returns VectorF(0,0)
Returns: VectorF
Return velocity of joint point, calculated by linked velocities and joint link point. (MO)
Returns: VectorF
Return true if this joint is a mount joint.
Returns: BOOLEAN
Set joint to be mount joint or not.
Arguments: BOOLEAN val
Return true if this joint is a mount joint and is mountable (now not mounted to anything)
Returns: BOOLEAN
Return true if this joint is a mount joint and it is mounted to mo or to world.
Returns: BOOLEAN
Return true if this joint is a mount joint and it is mounted to mo.
Returns: BOOLEAN
Return true if this joint is a mount joint and it is mounted to world.
Returns: BOOLEAN
Return true if mounted mo (and its linked assembly) will be rendered behind the joint's mo, false if above the joint's mo.
Returns: BOOLEAN
Set mounted mo (and its linked assembly) will be rendered behind the joint's mo, false if above the joint's mo.
Arguments: BOOLEAN val
Return true if this joint is voluntary. Involuntary joints are used for creatures and enemies, so it is possible to shoot it or atomize.
Returns: BOOLEAN
Return true if this joint is involuntary. Involuntary joints are used for creatures and enemies, so it is possible to shoot it or atomize.
Returns: BOOLEAN
Set true if this joint should be voluntary. Involuntary joints are used for creatures and enemies, so it is possible to shoot it or atomize.
Arguments: BOOLEAN val
Set true if this joint should be involuntary. Involuntary joints are used for creatures and enemies, so it is possible to shoot it or atomize.
Arguments: BOOLEAN val
Get current constraint vector on the joint.
Returns: VectorF
Get current constraint vector length squared.
Returns: SINGLE
Get maximum constraint vector length squared.
Returns: SINGLE
Null measured stuff (maximum constraint,...)
Return force by which the joint breaks.
Returns: SINGLE
Set force by which the joint breaks.
Arguments: SINGLE rValue
Return frozen state. If frozen then it acts like rigid/gear joint.
Returns: BOOLEAN
Returns: SoundSetMan
Play a sound by specified sound set name, the sound set must be set for this mo.
Arguments: STRING rSoundSetName
Returns: Sound
Play looped sound by specified sound set name, the sound set must be set for this mo.
Arguments: STRING rSoundSetName
Returns: Sound
Stop looped sound.
Arguments: PSound rpSound
Returns: BOOLEAN
Arguments: STRING rSoundSetName
Returns: Sound
Set force by which the joint breaks.
Arguments: SINGLE rValue
Set angular friction at the joint between two linked objects.
Arguments: SINGLE rFriction
Set angular spring power and angle.
Arguments: SINGLE rSpringPower, SINGLE rSpringAngle
Set relative angle between two objects for the angular spring to rest.
Arguments: SINGLE rValue
Set power of the angular spring.
Arguments: SINGLE rValue
Fade angular spring angle from current angle to angle defined in pose by specified name, by specified time.
Arguments: STRING rByPose, SINGLE rFadeTime
Set angular spring angle by pose found by specified name.
Arguments: STRING rPose
Set true to pause or false to resume angular spring fading the angle.
Arguments: BOOLEAN rPaused
Set angle limit by which the joint breaks. - right side of the limit (clockwise from center)
Arguments: SINGLE val
Set angle limit by which the joint breaks. - left side of the limit (counter clockwise from center)
Arguments: SINGLE val
Set this joint to be a slide joint. Slide joint can slide between two points, see SetSlidePoint1, SetSlidePoint2.
Arguments: BOOLEAN val
Set point 1 of the slide joint (local, on linked mo A). Slide joint can slide between two points.
Arguments: VectorF val
Set point 2 of the slide joint (local, on linked mo A). Slide joint can slide between two points.
Arguments: VectorF val
Set friction on the slide 0..1 where 0 is fully slippy, 1 is full friction.
Arguments: SINGLE val
Set to true to cramp the slide (see SetSlideJoint). When cramped, then it is not allowed to slide between two slide points.
Arguments: BOOLEAN rCramp
Apply force on a slide to push it in direction from slide point 1 to point 2 or opposite.
Arguments: SINGLE rForce
Apply force on a slide to push it to specified target position (0..1 range between slide point 1 and point 2). If the last parameter is true then it cramps slide joint when it gets to target position (see GetSlideCramp)
Arguments: SINGLE rTargetPosition, SINGLE rForce, BOOLEAN rCrampSlideWhenAtTarget
Set to true if the slide joint should now force the slide to some target position (see SlideForceToPosition).
Arguments: BOOLEAN val
Set the force of forcing the slide joint to some target position (see SlideForceToPosition).
Arguments: SINGLE val
Set the target position (0..1) to where this will be forcing the slide joint (see SlideForceToPosition).
Arguments: SINGLE val
Set whether slide joint will be cramped when it gets to the target position (0..1) (see SlideForceToPosition).
Arguments: BOOLEAN val
Enable/disable this joint to be used as a motor.
Arguments: BOOLEAN rEnabled
Set motor power.
Arguments: SINGLE rPower
Set maximum angular velocity (relative between two linked objects) that the motor can force to.
Arguments: SINGLE rMaxSpeed
Enable/disable this joint to be used as a motor.
Arguments: BOOLEAN rEnabled, SINGLE rPower, SINGLE rMaxSpeed
Rotate the motor [-1..1].
Arguments: SINGLE rPercentsOfMotorPower, BOOLEAN rHoldPedal
Brake the motor [0..1].
Arguments: SINGLE rPercentsOfBrakePower
Set power of brake to use when braking the rotation with DoBrakeMotor.
Arguments: SINGLE rValue
Null measured stuff (maximum constraint,...)
Set mounted mo (and its linked assembly) will be rendered behind the joint's mo, false if above the joint's mo.
Arguments: BOOLEAN val
Set to true for the joint to be a gear joint. also see gear ratio between two linked object - GetGearRatio.
Arguments: BOOLEAN rIsGearJoint
Set gear joint and gear ratio. (see SetGearJoint and SetGearRatio)
Arguments: BOOLEAN rIsGearJoint, SINGLE rGearRatio
Set gear ratio between two linked mos. Gear ratio 1 means that the linked objects will rotate the same speed. Gear ratio 0.5 means that the linked object A will rotate twice as fast as object B. Gear ratio 2 means object B will rotate twice faster than object A.
Arguments: SINGLE rGearRatio
Set whether gear joint also pins two objects at joint position. (not only pin rotation of objects)
Arguments: BOOLEAN rGearPinObjects
Set true to set joints to be voluntary. Involuntary joints are used for creatures and enemies, so it is possible to shoot it or atomize.
Arguments: BOOLEAN rVoluntary
Set true to set joints to be involuntary. Involuntary joints are used for creatures and enemies, so it is possible to shoot it or atomize.
Arguments: BOOLEAN rInvoluntary
Returns: STRING
Arguments: STRING rName
Arguments: STRING rName
Returns: STRING
Returns: StringArray
Arguments: STRING rTag
Returns: BOOLEAN
Arguments: STRING rTag1, STRING rTag2
Returns: BOOLEAN
Arguments: STRING rTag
Returns: BOOLEAN
Arguments: STRING rTag
Returns: BOOLEAN
Returns: STRING
Arguments: INT rIndex
Returns: SINGLE
Returns: STRING
Arguments: STRING rTag
Arguments: BOOLEAN rEnabled
Returns: BOOLEAN
Arguments: STRING rUndoHint
Returns: STRING
Arguments: STRING rString
Returns: BOOLEAN
Arguments: BOOLEAN rStartDead
Arguments: BOOLEAN val
Returns: BOOLEAN
Returns: BYTE
Arguments: BYTE rHue
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: STRING
Arguments: STRING rScript
Arguments: SINGLE rScale
Arguments: INT rIndex
Returns: STRING
Returns: STRING
Arguments: BOOLEAN rDoShiftUp
Returns: SINGLE
Returns: SINGLE
Returns: STRING
Arguments: STRING rName
Returns: STRING
Returns: STRING
Returns: RectI
Arguments: INT rX, INT rY, INT rW, INT rH
Arguments: INT rValue
Arguments: INT rValue
Arguments: INT rValue
Arguments: INT rValue
Arguments: INT rX, INT rY
Returns: VectorI
Arguments: BOOLEAN rIsMaster
Returns: BOOLEAN
Arguments: SINGLE rMasterPosX
Returns: SINGLE
Arguments: SINGLE rMasterPosY
Returns: SINGLE
Arguments: SINGLE rMasterOrientation
Returns: SINGLE
Arguments: SINGLE rScale
Returns: VectorF
Returns: SINGLE
Arguments: SINGLE rTessellationFactor
Arguments: BOOLEAN rStartHidden
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Arguments: BOOLEAN rCircleShape
Arguments: VectorF rCircleShapeShift
Returns: VectorF
Arguments: SINGLE rCircleShapeScale
Returns: SINGLE
Returns: STRING
Arguments: STRING rValue
Returns: BOOLEAN
Arguments: INT rIndex
Returns: STRING
Returns: STRING
Arguments: BOOLEAN rDoShiftUp
Returns: SINGLE
Returns: SINGLE
Returns: STRING
Arguments: STRING rName
Returns: STRING
Arguments: STRING rName
Returns: STRING
Arguments: SINGLE rPosX
Returns: SINGLE
Arguments: SINGLE rPosY
Returns: SINGLE
Arguments: BOOLEAN rRel
Returns: BOOLEAN
Arguments: STRING rName
Returns: STRING
Arguments: SINGLE rPosX
Returns: SINGLE
Arguments: SINGLE rPosY
Returns: SINGLE
Arguments: BOOLEAN rRel
Returns: BOOLEAN
Arguments: SINGLE rAngle
Returns: SINGLE
Arguments: BOOLEAN rIsWorldJoint
Returns: BOOLEAN
Arguments: BOOLEAN rIsGearJoint
Returns: BOOLEAN
Returns: BOOLEAN
Arguments: BOOLEAN rPinObjects
Arguments: INT rIndex
Returns: SINGLE
Returns: STRING
Returns: STRING
Returns: STRING
Arguments: STRING rName
Returns: SINGLE
Arguments: SINGLE rAngle
Arguments: SINGLE rCenterAngle
Arguments: BOOLEAN rPlay
Returns: BOOLEAN
Arguments: STRING rPose
Returns: STRING
Arguments: STRING rPose
Returns: STRING
Arguments: SINGLE rFPS
Returns: SINGLE
Arguments: BOOLEAN rSmooth
Returns: BOOLEAN
Arguments: INT rIndex
Returns: STRING
Returns: STRING
Returns: SINGLE
Returns: SINGLE
Returns: STRING
Arguments: STRING rName
Returns: STRING
Arguments: STRING rName
Returns: STRING
Arguments: SINGLE rPosX
Returns: SINGLE
Arguments: SINGLE rPosY
Returns: SINGLE
Arguments: BOOLEAN rRel
Returns: BOOLEAN
Arguments: SINGLE rOrientation
Returns: SINGLE
Arguments: INT rLayer
Returns: SINGLE
Arguments: INT rIndex
Returns: STRING
Returns: STRING
Returns: SINGLE
Returns: SINGLE
Returns: STRING
Arguments: INT rID
Returns: SINGLE
Arguments: STRING rName
Returns: STRING
Arguments: STRING rName
Returns: STRING
Arguments: SINGLE rPosX
Returns: SINGLE
Arguments: SINGLE rPosY
Returns: SINGLE
Arguments: SINGLE rOrientation
Returns: SINGLE
Returns: SoundSetMan
Returns true if the assembly is dead.
Returns: BOOLEAN
Returns true if the assembly is alive.
Returns: BOOLEAN
Sets the assembly to the dead state and turn off any balancers and particle emitters. Also set joint angular friciton, spring power and gear ratio to a small default value.
Return true if hidden MOs of this assembly will be deleted when the assembly dies. (true by default)
Returns: BOOLEAN
Set to true if hidden MOs of this assembly should be deleted when the assembly dies. (true by default)
Arguments: BOOLEAN val
Set to true to delete assmebly's hidden MOs after update.
Returns a reference to this assembly's blueprint.
Returns: Blueprint
Return true if this assembly is a part, broken off some assembly. Broken off assembly doesn't carry script anymore.
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns the assembly ID, unique in simulation lifetime.
Returns: SINGLE
Returns the name of this assembly.
Returns: STRING
! Deprecated, this old function set assembly type, now it adds assembly tag with AddTag
Arguments: STRING rName
! Deprecated, this old function returned assembly type, now it returns the first assembly tag, see HasTag, GetTags, AddTag, ...
Returns: STRING
Return true if assembly has specified tag string.
Arguments: STRING rTag
Returns: BOOLEAN
Return true if assembly has both specified tags in its tag list.
Arguments: STRING rTag1, STRING rTag2
Returns: BOOLEAN
Return lua table of all assembly's tag strings.
Returns: SINGLE
Add specified tag to assembly, if it is not empty string or assembly has it already.
Arguments: STRING rTag
Returns: BOOLEAN
Remove specified tag from assembly's tag list.
Arguments: STRING rTag
Returns: BOOLEAN
Remove all tags from assembly's tag list.
Return delta time, which is time per one frame.
Returns: SINGLE
Return 1 / delta time.
Returns: SINGLE
Return a set of MOs, with which you can set one parameter of more assembly's MOs in one line. f.e. assembly:MOSet("Leg"):SetFriction(0) will set friction 0 on all assembly's MOs that name starts with "Leg". f.e.assembly: : SetFriction(0) will set the friction on all assembly's MOs. (MOSet())
Arguments: STRING rNameFirstChars
Returns: MOsSet
Return a set of MOs, with which you can set one parameter of more assembly's MOs in one line. f.e. assembly:MOSet("Leg"):SetFriction(0) will set friction 0 on all assembly's MOs that name starts with "Leg". f.e.assembly: : SetFriction(0) will set the friction on all assembly's MOs. (MOSet())
Arguments: STRING rNameFirstChars
Returns: MOsSet
Returns a pointer to any movable object with this name.
Arguments: STRING rName
Returns: MO
Arguments: INT rIndex
Returns: MO
Returns: SINGLE
Returns: STRING
Returns: MO
Returns: SINGLE
Arguments: INT rIndex
Returns: STRING
Returns: STRING
Returns: STRING
Returns: STRING
Returns: MO
Returns: VectorF
Returns: VectorF
Returns: VectorF
Returns: SINGLE
Returns: VectorF
Arguments: PSINGLE rpOutMass
Returns: VectorF
Returns: SINGLE
Returns: VectorF
Arguments: PSINGLE rpOutMass
Returns: VectorF
Return a set of Joints, with which you can set one parameter of more assembly's Joints in one line. f.e. assembly:JointSet("Leg"):SetAngularFriction(0) will set friction 0 on all assembly's Joints that name starts with "Leg". f.e.assembly::SetFriction(0) will set the friction on all assembly's Joints. (JointSet())
Arguments: STRING rNameFirstChars
Returns: JointsSet
Return a set of Joints, with which you can set one parameter of more assembly's Joints in one line. f.e. assembly:JointSet("Leg"):SetAngularFriction(0) will set friction 0 on all assembly's Joints that name starts with "Leg". f.e.assembly::SetFriction(0) will set the friction on all assembly's Joints. (JointSet())
Arguments: STRING rNameFirstChars
Returns: JointsSet
Arguments: STRING rName
Returns: Joint
Arguments: STRING rName
Returns: Joint
Arguments: INT rIndex
Returns: Joint
Returns: SINGLE
Returns: STRING
Returns: Joint
Returns: SINGLE
Arguments: INT rIndex
Returns: STRING
Returns: STRING
Returns: STRING
Returns a pointer to any particle system in the assembly with this name.
Arguments: STRING rName
Returns: PS
Returns: SINGLE
Arguments: INT rIndex
Returns: PS
Arguments: PPS rpPS
Returns: BOOLEAN
Returns: STRING
Arguments: INT rIndex
Returns: Light
Returns: SINGLE
Arguments: STRING rName
Returns: Light
Arguments: PLight rpLight
Returns: SINGLE
Arguments: INT rID
Returns: SINGLE
Arguments: PLight rpLight
Returns: BOOLEAN
Returns: STRING
Creates a new timer.
Returns: Timer
Creates a new timer specifying all values.
Arguments: SINGLE rCurrentTime, SINGLE rTimeLimit, BOOLEAN rPaused, BOOLEAN rLooping
Returns: Timer
Deletes this timer.
Arguments: PTimer rpTimer
Returns: BOOLEAN
Arguments: VectorF rPoint1, VectorF rPoint2, ColorRGBA rColor
Arguments: VectorF rFromPoint, VectorF rVector, ColorRGBA rColor
Returns random integer in range 0..rMax.
Arguments: INT rMax
Returns: SINGLE
Returns random integer in range rMin..rMax, including these values.
Arguments: INT rMin, INT rMax
Returns: SINGLE
Returns random true or false.
Returns: BOOLEAN
Returns random number in range 0.0f..1.0f.
Returns: SINGLE
Returns random number in range 0.0f..rMax.
Arguments: SINGLE rMax
Returns: SINGLE
Returns random number in range rMin..rMax.
Arguments: SINGLE rMin, SINGLE rMax
Returns: SINGLE
Returns random number in range 0.0f..rMax with random sign (plus or minus)
Arguments: SINGLE rMax
Returns: SINGLE
Returns random number in range rMin..rMax and randomly changes the number sign.
Arguments: SINGLE rMin, SINGLE rMax
Returns: SINGLE
Cast a ray from rPoint1 to (rVector+rPoint1) that collide with movable objects and terrain objects. Returns radar signal with data about collision. Returns nil if no such collision found.
Arguments: VectorF rPoint1, VectorF rVector
Returns: RadarSignal
Cast a ray from rPoint1 to (rVector+rPoint1) that may collide with movable objects and/or terrain objects. Returns radar signal with data about collision. Returns nil if no such collision found.
Arguments: VectorF rPoint1, VectorF rVector, BOOLEAN rCollideMOs, BOOLEAN rCollideTerrain
Returns: RadarSignal
Cast a ray from rPoint1 to (rVector+rPoint1) that collide with movable objects and terrain objects. Ignores collisions with any assembly specified by rpExceptAssembly. Returns radar signal with data about collision. Returns nil if no such collision found.
Arguments: VectorF rPoint1, VectorF rVector, PAssembly rpExceptAssembly
Returns: RadarSignal
Cast a ray from rPoint1 to (rVector+rPoint1) that may collide with movable objects and/or terrain objects. Ignores collisions with any assembly specified by rpExceptAssembly. Returns radar signal with data about collision. Returns nil if no such collision found.
Arguments: VectorF rPoint1, VectorF rVector, BOOLEAN rCollideMOs, BOOLEAN rCollideTerrain, PMO rExceptMO, PAssembly rpExceptAssembly
Returns: RadarSignal
Cast a ray from rPoint1 to rPoint2 that collide with movable objects and terrain objects. Returns radar signal with data about collision. Returns nil if no such collision found.
Arguments: VectorF rPoint1, VectorF rPoint2
Returns: RadarSignal
Cast a ray from rPoint1 to rPoint2 that may collide with movable objects and/or terrain objects. Returns radar signal with data about collision. Returns nil if no such collision found.
Arguments: VectorF rPoint1, VectorF rPoint2, BOOLEAN rCollideMOs, BOOLEAN rCollideTerrain
Returns: RadarSignal
Cast a ray from rPoint1 to rPoint2 that collide with movable objects and terrain objects. Ignores collisions with any assembly specified by rpExceptAssembly. Returns radar signal with data about collision. Returns nil if no such collision found.
Arguments: VectorF rPoint1, VectorF rPoint2, PAssembly rpExceptAssembly
Returns: RadarSignal
Cast a ray from rPoint1 to rPoint2 that may collide with movable objects and/or terrain objects. Ignores collisions with any assembly specified by rpExceptAssembly. Returns radar signal with data about collision. Returns nil if no such collision found.
Arguments: VectorF rPoint1, VectorF rPoint2, BOOLEAN rCollideMOs, BOOLEAN rCollideTerrain, PMO rExceptMO, PAssembly rpExceptAssembly
Returns: RadarSignal
Arguments: STRING rSoundSetName
Returns: Sound
Arguments: STRING rSoundSetName
Returns: Sound
Arguments: PSound rpSound
Returns: BOOLEAN
Arguments: STRING rSoundSetName
Returns: Sound
Arguments: VectorF rAimPoint, STRING rGunMOName, STRING rBodyMOName, STRING rJointName, SINGLE rSpringPower
Mirror the assembly.
Mirror the assembly and optionally also mirror mounted assemblies.
Arguments: BOOLEAN rAlsoMirrorMountedAssemblies
Returns: BOOLEAN
Sets any joint that have a name that start in the same way as rJointsStartCharacters to the specified pose.
Arguments: STRING rJointsStartCharacters, STRING rPoseName
Arguments: STRING rJointsStartCharacters, SINGLE rPower
Arguments: STRING rJointsStartCharacters, SINGLE rFriction
Rotates any joint that have a name that start in the same way as rJointsStartCharacters to the specified pose in the specified time.
Arguments: STRING rJointsStartCharacters, STRING rPoseName, SINGLE rFadeTime
Arguments: STRING rJointsStartCharacters, BOOLEAN rPaused
Arguments: STRING rJointsStartCharacters, STRING rPoseName
Arguments: STRING rJointsStartCharacters, BOOLEAN rEnabled
Arguments: STRING rJointsStartCharacters, BOOLEAN rEnabled, SINGLE rToleranceRad
Arguments: STRING rJointsStartCharacters, SINGLE rValue
Arguments: SINGLE rDirection, SINGLE rStrength, SINGLE rDuration
The assembly will be destroyed.
get linked to assembly, if any is linked (Controller)
Returns: Controller
Add blueprint to assembly's controller, with effect starting at specified position.
Arguments: STRING rName, VectorF rAtPosition, BOOLEAN rSelectItIfAdded
Returns: BOOLEAN
Add blueprint to assembly's controller, with no graphics effect triggering.
Arguments: STRING rName, BOOLEAN rSelectItIfAdded
Returns: BOOLEAN
Return point position of last atomized triangle.
Returns: VectorF
Set point position of last atomized triangle.
Arguments: VectorF val
Return point position of last assembled triangle.
Returns: VectorF
Set point position of last assembled triangle.
Arguments: VectorF val
Mount mo to this assembly, specified mount joint must be owned by this assembly.
Arguments: PMO rpMOMounting, VectorF rMOLocalPointMount, PJoint rpMountToJoint, BOOLEAN rSoftSpringForAWhile
Returns: BOOLEAN
Mount mo to this assembly, specified mount joint must be owned by this assembly, referenced mo's joint (fond by name) is used to get local position on mo for mounting.
Arguments: PMO rpMOMounting, STRING rReferencePointJointOnMOMounting, STRING rpMountToJointName, BOOLEAN rSoftSpringForAWhile
Returns: BOOLEAN
Mount mo to this assembly, finds two joints with the same name (one in this assembly and one in mounting mo) and mounts them by their local positions.
Arguments: PMO rpMOMounting, STRING rBothJointsName, BOOLEAN rSoftSpringForAWhile
Returns: BOOLEAN
Mount specified assembly's joint to world point.
Arguments: PJoint rpMountJoint, VectorF rMountWorldPoint, BOOLEAN rSoftSpringForAWhile
Returns: BOOLEAN
Mount this assembly to specified joint. specified mo must be owned by this . (Assembly)
Arguments: PJoint rpMountToJoint, PMO rpMOMounting, VectorF rMOLocalPointMount, BOOLEAN rSoftSpringForAWhile
Returns: BOOLEAN
Unmount assembly at specified joint. This also unmounts from world point.
Arguments: PJoint rpMountJoint
Returns: BOOLEAN
Unmount all MOs at all mount joints that belong to this assembly and are mounting rpAssembly at joints' obj. B.
Arguments: PAssembly rpAssembly
Returns: BOOLEAN
Unmount all MOs that are mounted to joints that belong to rpAssembly (so this assembly's MOs are linked at mount joints' link obj. B)
Arguments: PAssembly rpAssembly
Returns: BOOLEAN
Return true if this assembly has specified assembly mounted.
Arguments: PAssembly rpAssembly
Returns: BOOLEAN
Return true if this assembly is mounted to specified assembly.
Arguments: PAssembly rpAssembly
Returns: BOOLEAN
Return true if this assembly is mounted to any assembly.
Returns: BOOLEAN
! Deprecated !, use GetNearestMountableJoint instead
Arguments: VectorF rToPoint
Returns: Joint
Return free mountable joint nearest to specified world point.
Arguments: VectorF rToPoint, BOOLEAN rIgnoreInvoluntaryJoints=Yes
Returns: Joint
! Deprecated !, use GetFirstMountableJoint instead
Arguments: BOOLEAN rIgnoreInvoluntaryJoints=Yes
Returns: Joint
Return any first found joint to which this assembly is mounted.
Returns: Joint
Return assembly that is mounted to joint by name.
Arguments: STRING rJointName
Returns: Assembly
Return assembly that is mounted to joint. This assembly must be an owner of the joint.
Arguments: PJoint rpJoint
Returns: Assembly
Return mo that is mounted to joint by name.
Arguments: STRING rJointName
Returns: MO
Return mo that is mounted to joint. This assembly must be an owner of the joint.
Arguments: PJoint rpJoint
Returns: MO
Return the first assembly of the specified assembly type (pass empty string to get by any AT), that is mounted to this assembly.
Arguments: STRING rAT
Returns: Assembly
Return the first assembly to which this assembly is mounted if its assembly type equals rAT (pass empty string to get by any AT)
Arguments: STRING rAT
Returns: Assembly
Return true if joint by name exists in this assembly, it is a mount joint and it is mounted to mo or to world.
Arguments: STRING rJointName
Returns: BOOLEAN
Return true if joint belongs to this assembly and is mounted to mo or to world.
Arguments: PJoint rpJoint
Returns: BOOLEAN
Return true if joint by name exists in this assembly, it is a mount joint and it is mounted to some mo.
Arguments: STRING rJointName
Returns: BOOLEAN
Return true if joint belongs to this assembly and is mounted to some mo.
Arguments: PJoint rpJoint
Returns: BOOLEAN
Return true if joint by name exists in this assembly, it is a mount joint and it is mounted to world.
Arguments: STRING rJointName
Returns: BOOLEAN
Return true if joint belongs to this assembly and is mounted to world.
Arguments: PJoint rpJoint
Returns: BOOLEAN
Return table of assemblies mounted to this assembly by AT (pass empty string to not compare AT)
Arguments: STRING rAT
Returns: SINGLE
Return table of assemblies to whose this assembly is mounted AT (pass empty string to not compare AT)
Arguments: STRING rAT
Returns: SINGLE
Return table of mount joints owned by this assembly.
Returns: SINGLE
Return table of mount joints owned by this assembly, those that are mounted to mo or to world.
Returns: SINGLE
Return table of mount joints owned by this assembly, those that are not mounted to mo neither to world.
Returns: SINGLE
Arguments: PAssembly rpAssembly
Arguments: PAssembly rpAssembly
Returns: BOOLEAN
Arguments: PAssembly rpAssembly
Returns: BOOLEAN
Returns: STRING
Returns: STRING
Arguments: VectorF rVelocity, SINGLE rAngularVelocity
Returns a radar manager () (RadarMan)
Returns: RadarMan
Set reporting of collided MOs on all 's MOs. (Assembly)
Arguments: BOOLEAN val
Set reporting of collided PSs on all 's MOs. (Assembly)
Arguments: BOOLEAN val
Get table of MOs that collided with this assembly. (merged from all 's MOs). Reporting of collided MOs must be switched ON for chosen MOs, or all MOs (see ).
Returns: SINGLE
Get table of Assemblies that collided with this assembly. (merged from all 's MOs). Reporting of collided MOs must be switched ON for chosen MOs, or all MOs (see ).
Returns: SINGLE
Get table of PSs that collided with this assembly. (merged from all 's MOs). Reporting of collided PSs must be switched ON with SetReportCollidedPSs() first. (Assembly)
Returns: SINGLE
Return table of frozen MOs.
Returns: SINGLE
Return table of burning MOs.
Returns: SINGLE
Return table of melting MOs.
Returns: SINGLE
Return mo that has lowest temperature of triangle. See mo:GetTemperatureMin(), GetTemperatureMax(), GetTemperature()
Returns: MO
Return mo that has biggest temperature of triangle. See mo:GetTemperatureMin(), GetTemperatureMax(), GetTemperature()
Returns: MO
Return mo that has lowest average temperature of triangles. See mo:GetTemperature(), GetTemperatureMin(), GetTemperatureMax(),.
Returns: MO
Return mo that has biggest average temperature of triangles. See mo:GetTemperature(), GetTemperatureMin(), GetTemperatureMax(),.
Returns: MO
Return filename with path from where this blueprint was loaded.
Returns: STRING
Return filename directory from where this blueprint was loaded.
Returns: STRING
Returns: STRING
Returns: STRING
Return true if some edit blueprint value have been changed and it is recommended to save changes to edited blueprint.
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Arguments: STRING rUndoHint
Returns: STRING
Arguments: INT rIndex
Returns: SINGLE
Returns: BOOLEAN
Returns: STRING
Returns: STRING
Returns: STRING
Return ID unique in simulation lifetime.
Returns: SINGLE
Return how much Aurium (A) this controller has.
Returns: SINGLE
Ask to consume Aurium (A) from this controller and return how much was consumed. If controller has less aurium than specified then this function returns available amount to be consumed. Returns zero if there is no Aurium.
Arguments: SINGLE rA
Returns: SINGLE
Return true if this controller is controlled by player or some remote controller, so the input from some keyboard or joypad comes to this controller.
Returns: BOOLEAN
Return true when this is a 'menu controller'. Menu controller doesn't need to have any assembly linked, while its camera and other features can be controlled via script. Used for menu scenes.
Returns: BOOLEAN
Set true for this controller to be 'menu controller'. Menu controller doesn't need to have any assembly linked, while its camera and other features can be controlled via script. Used for menu scenes.
Arguments: BOOLEAN val
Set controller's camera position and orientation.
Arguments: VectorF rPosition, SINGLE rOrientation
Set controller's camera position and orientation target.
Arguments: VectorF rPosition, SINGLE rOrientation
Set controller's camera zoom.
Arguments: SINGLE rZoom
Set controller's camera zoom target.
Arguments: SINGLE rZoom
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: Assembly
Add blueprint to controller's blueprint menu (name, without ".png"), Return true if it was added, false if it was in menu already. Specified position is a start point for effect adding the blueprint.
Arguments: STRING rName, VectorF rAtPosition, BOOLEAN rSelectItIfAdded
Returns: BOOLEAN
Add blueprint to controller's blueprint menu (name, without ".png"), Return true if it was added, false if it was in menu already. No effect is triggered using this function.
Arguments: STRING rName, BOOLEAN rSelectItIfAdded
Returns: BOOLEAN
Set focus point. This works only for controller that is not attached to assembly.
Arguments: VectorF rFocusPoint
Get focus point of this controller.
Returns: VectorF
Return the top controller that controls this controller remotely - f.e. if controller A controls B and that B controls controller C, then this function returns A when called by controller C.
Returns: Controller
Return the controller that controls this controller remotely. See - f.e. GetRemoteController for more information.
Returns: Controller
Return table of controllers that are being remotely controlled by this controller directly.
Returns: SINGLE
Return number of controllers that are being remotely controlled by this controller directly.
Returns: SINGLE
Return controller that is remotely controlled by this controller. rIndex is 0 to (GetRemoteControllingCount())
Arguments: INT rIndex
Returns: Controller
Return true if this controller is remote controlling any controller.
Returns: BOOLEAN
Return true if this controller is being remote controlled by other controller.
Returns: BOOLEAN
Return true if remote control of specified controller was successfully connected. rpController will be remotely controlled by this controller, if it is not controlled by any other remote control.
Arguments: PController rpController
Returns: BOOLEAN
Return true if remote control of specified controller was successfully disconnected. rpController will be no more be controlled remotely by this controller.
Arguments: PController rpController
Returns: BOOLEAN
Disconnect all controllers from remote control and return true if there were any.
Returns: BOOLEAN
return true if blueprint menu is visible now
Returns: BOOLEAN
Add UI bar to controller.
Returns: UIBar
Get UI by its unique id.
Arguments: INT rID
Returns: UIBar
Delete UI bar.
Arguments: PUIBar rBar
Returns: BOOLEAN
Delete UI bar by specified ID.
Arguments: INT rID
Returns: BOOLEAN
Return table of all UI bars.
Returns: SINGLE
Returns: SINGLE
Returns: SINGLE
Returns: SINGLE
Returns: SINGLE
Returns: SINGLE
Arguments: SINGLE rMass
Arguments: SINGLE rMass
Arguments: SINGLE rMass
Arguments: SINGLE rMass
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: BOOLEAN
Returns: VectorF
Returns: VectorF
Arguments: SINGLE rWait
Returns: BOOLEAN
Add blueprint added to assembly info. Should not need to call this, it is covered by engine.
Arguments: STRING rName, STRING rFileName, VectorF rPosition, INT rToAssemblyID
Get number of blueprints added to controllers in the buffer.
Returns: SINGLE
Get added blueprint by specified index.
Arguments: INT rIndex
Returns: BPAddedToControllerInfo
Delete added blueprint by specified index.
Arguments: INT rIndex
Delete all added blueprints in the buffer. Call this after read and managed all added blueprints.
Return name of the added blueprint.
Returns: STRING
Return filename of the added blueprint.
Returns: STRING
Return position point where the effect should start.
Returns: VectorF
Return ID of assembly to which the blueprint was added.
Returns: SINGLE
Returns: SINGLE
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: VectorF
Arguments: VectorF val
Returns: VectorF
Arguments: VectorF val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: VectorF
Arguments: VectorF val
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: ColorRGBA
Arguments: ColorRGBA val
Returns: ColorRGBA
Arguments: ColorRGBA val
Returns: STRING
Arguments: STRING val
Returns: STRING
Arguments: STRING val
Returns: STRING
Arguments: STRING val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: VectorF
Arguments: VectorF val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: SINGLE
Arguments: SINGLE val
Returns: ColorRGBA
Arguments: ColorRGBA val
Arguments: ColorRGBA val
Returns: ColorRGBA
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: ColorRGBA
Arguments: ColorRGBA val
Returns: ColorRGBA
Arguments: ColorRGBA val
Returns: ColorRGBA
Arguments: ColorRGBA val
Returns: ColorRGBA
Arguments: ColorRGBA val
Arguments: SINGLE rX, SINGLE rY, SINGLE rRadius, ColorRGBA rColor, BOOLEAN rBlinky
Returns to which this is linked.
Returns: Assembly
Returns to which this is linked.
Returns: MO
Returns: VectorF
Arguments: VectorF rPos
Returns: SINGLE
Arguments: SINGLE rRadius
Returns: ColorRGBA
Returns: BYTE
Arguments: BYTE val
Returns: STRING
Arguments: STRING val
Arguments: VectorF rMove
Returns: STRING
Arguments: STRING rName
Returns: BOOLEAN
Arguments: BOOLEAN rOn
Returns: BOOLEAN
Arguments: BOOLEAN rOff
Returns: BOOLEAN
Arguments: BOOLEAN rBlink
Returns: IntervalF
Arguments: IntervalF val
Returns: ColorRGBA
Returns: ColorRGBA
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: SINGLE val
Returns: BOOLEAN
Arguments: SINGLE rTimeFadeIn, SINGLE rTimeStayIn, SINGLE rTimeFadeOut, BOOLEAN rDeleteAfterDone
Returns: SoundSetMan
Arguments: STRING rSoundSetName
Returns: Sound
Arguments: STRING rSoundSetName
Returns: Sound
Arguments: PSound rpSound
Returns: BOOLEAN
Arguments: STRING rSoundSetName
Returns: Sound
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: SINGLE
Arguments: SINGLE val
Returns: SINGLE
Arguments: INT val
Returns: STRING
Type: BOOLEAN
Type: BOOLEAN
Type: BOOLEAN
Type: BOOLEAN
Type: BOOLEAN
Type: BOOLEAN
Type: BOOLEAN
Type: BOOLEAN
Type: BOOLEAN
Type: BOOLEAN
Type: BOOLEAN
Type: BOOLEAN
Type: BOOLEAN
Type: BOOLEAN
Type: BOOLEAN
Type: BOOLEAN
Type: BOOLEAN
Type: BOOLEAN
Type: BOOLEAN
Type: BOOLEAN
Type: BOOLEAN
Type: BOOLEAN
Type: BOOLEAN
Type: BOOLEAN
Type: BOOLEAN
Type: BOOLEAN
Type: BOOLEAN
Type: BOOLEAN
Type: BOOLEAN
Type: BOOLEAN
Type: BOOLEAN
Type: BOOLEAN
Returns: Timer
Arguments: SINGLE rCurrentTime, SINGLE rTimeLimit, BOOLEAN rPaused, BOOLEAN rLooping
Returns: Timer
Arguments: PTimer rpTimer
Returns: BOOLEAN
Returns: BOOLEAN
Returns: STRING
Arguments: STRING rScript
Arguments: STRING rBlueprintFN
Arguments: INT rIndex
Returns: SINGLE
Returns: SINGLE
Returns: STRING
Returns: STRING
Arguments: VectorF rPos
Returns: SINGLE
Arguments: SINGLE rPosX
Returns: SINGLE
Arguments: SINGLE rPosY
Returns: SINGLE
Arguments: SINGLE rOrientation
Returns: BOOLEAN
Arguments: BOOLEAN rIsConstruct
Returns: BOOLEAN
Arguments: BOOLEAN rIsPlayer
Returns: STRING
Arguments: STRING val
Returns: STRING
Returns: SINGLE
Arguments: STRING rFilename
Arguments: INT rIndex
Returns: SINGLE
Returns: STRING
Returns: SINGLE
Arguments: INT val
Returns: IntervalF
Arguments: IntervalF val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: BOOLEAN
Arguments: BOOLEAN val
Returns: SINGLE
Arguments: SINGLE val
Returns: SoundSet
Returns: SoundSet
Returns: SoundSet
Arguments: INT rIndex
Returns: BOOLEAN
Returns: BOOLEAN
Returns: SINGLE
Arguments: STRING rName
Returns: SoundSet
Returns: SoundSet
Returns: SINGLE
Arguments: INT rIndex
Returns: STRING
Return the name of this radar.
Returns: STRING
Set the name of this radar.
Arguments: STRING val
Turn this radar on/off.
Arguments: BOOLEAN rEnabled
True if this radar is on.
Returns: BOOLEAN
Set the position and cone of this radar.
Arguments: VectorF rPoint, SINGLE rAngle, SINGLE rArc, SINGLE rRadius
Set the position.
Arguments: VectorF rPoint
Set the angle in radians of the radar cone.
Arguments: SINGLE rAngle
Set the arc in radians of the radar cone.
Arguments: SINGLE rArc
Set the range in meters of the radar cone.
Arguments: SINGLE rRange
Set number of rays within radar arc. Use small number if possible, for better performance. (max number of rays is 17)
Arguments: INT rCount
Return number of rays within radar arc.
Returns: SINGLE
Set what objects this radar will react to.
Arguments: BOOLEAN rAssemblies, BOOLEAN rMOs, BOOLEAN rTerrain, BOOLEAN rResources
Return true if this radar react to assemblies.
Returns: BOOLEAN
Set if this radar react to assemblies.
Arguments: BOOLEAN val
Return true if this radar react to movable objects.
Returns: BOOLEAN
Set if this radar react to movable objects.
Arguments: BOOLEAN val
Return true if this radar react to terrain.
Returns: BOOLEAN
Set if this radar react to terrain.
Arguments: BOOLEAN val
Return true if this radar react to resources.
Returns: BOOLEAN
Set if this radar react to resources.
Arguments: BOOLEAN val
Return the number of radar signals.
Returns: SINGLE
Return any signal with this index.
Arguments: INT rAtIndex
Returns: RadarSignal
The number of radars owned by this radar manager.
Returns: SINGLE
Adds a radar to this radar manager.
Arguments: STRING rName
Returns: Radar
Returns any radar with this name.
Arguments: STRING rName
Returns: Radar
Returns any radar with this index.
Arguments: INT rIndex
Returns: Radar
Remove any radar with this name from this radar manager.
Arguments: STRING rName
Returns: BOOLEAN
Remove any radar with this index from this radar manager.
Arguments: INT rIndex
Returns: BOOLEAN
Return the collision point of radar ray with object.
Returns: VectorF
Return a movable object reference if radar is set to check movable objects or assemblies and this movable object is linked to an assembly.
Returns: MO
Return a terrain object reference if radar is set to check terrain or resources and this terrain object is atomizable.
Returns: TO
Convert the angle "value" to an identical angle in the [min_value..max_value] range. e.g. math.frotate(-math.pi, math.pi, math.twopi) return 0
Clamp n to a value between min and max
Sine ease with values between 0 and 1. fast -> slow
Cosine ease with values between 0 and 1. slow -> fast
Ease first in and then out with values between 0 and 1. slow -> fast -> slow
Print to screen
Print to console
Print the contents of tables
Deprecated old function that will be removed when all stuff updated
Deprecated old function that will be removed when all stuff updated
Deprecated old function that will be removed when all stuff updated
Convert (nested) table to string
Returns the lua object of an assembly. Used for accessing the lua functions for that assembly
Update the blueprint menu
Add the default blueprints to the blueprint menu
Add the default blueprints to the blueprint menu of all active controllers
Activate a PS that shows to the player that a blueprint was added to the blueprint menu
Update the effects that plays when an blueprint is added
This is called after scene is loaded and reset
This is called after each frame update
Create a proportional-integral-derivative controller. "inputs" is a table. Example: pid_controller:create{p=1, i=0.1, d=0.5, last_input=0, filter_leak=1, integral_max=10}
Returns a value that when used as input in e.g. a motor will decrease the difference between input and target
Creates a generic behavior tree node. The user must define an update function
Creates a sequencer node: executes all child behaviours and returns to the parent node if any fail
Creates a selector node: executes all child behaviours and returns to the parent node at the first success
Creates a inverter node: run the only child and return "failure" if the child succeeded and "success" if it fails
Creates a succeeder node: run the only child and always return success (ignores what the child returned)
Adds a child to any node
Returns a pointer to an assembly specific storage table that is used for storing the state of this node. If no table exist it will be created and its state set to invalid.
Pioneer HUD. This is called after pioneer is created
Pioneer HUD. This is called after each frame update
Pioneer standardized Build. This is called at beginning of Pioneer Build in its own script
Pioneer standardized Update. This is called at the beginning of each frame update in its own script
belt = table of planetoid names/ids
Draw a cross. The argument "input" is a table with the following variables; assy, pos, size, color. Example: dbg.draw_cross{assy=self, pos=self:GetApproxPos(), size=2, color=ColorRGBA(255, 255, 0, 125)}
Draw a box. The argument "input" is a table with the following variables; assy, pos, size, color. Example: dbg.draw_box{assy=self, pos=self:GetApproxPos(), size=2, color=ColorRGBA(255, 255, 0, 125)}