Skyline Lua API
Version 1.0 RC1
Lua Script Reference for Skyline Game Engine.
|
This is the complete list of members for vehicle, including all inherited members.
accelerate(int vehicleID) | vehicle | |
addChassis(int vehicleID, int chassisIndex, float posXfloat posY, float posZ, float scaleX, float scaleY, float scaleZ) | vehicle | |
addWheel(int vehicleID, int vehicleID, int wheelIndex, int driveWheel, int steerWheel, float posX, float posY, float posZ) | vehicle | |
applyForce(int vehicleID, float axizX, float axizY, float axizZ) | vehicle | |
applyForceAtPoint(int vehicleID, float axizX, float axizY, float axizZ, float posX, float posY, float posZ) | vehicle | |
applyLocalForce(int vehicleID, float axizX, float axizY, float axizZ) | vehicle | |
applyLocalForceAtPoint(int vehicleID, float axizX, float axizY, float axizZ, float posX, float posY, float posZ) | vehicle | |
createPhyicsBody(int vehicleID) | vehicle | |
createVehicle(string vehicleName, int sceneEntityID, float posX, float posY, float posZ, float rotW, float rotX, float rotY, float rotZ) | vehicle | |
createWheels(int vehicleID) | vehicle | |
decelerate(int vehicleID) | vehicle | |
destroy(int vehicleID) | vehicle | |
enableAutoMaxSteer(int vehicleID, int state) | vehicle | |
followPath(int vehicleID, string pathName, float throttle) | vehicle | |
followPathPosition(int vehicleID, float x, float y, float z) | vehicle | |
getActiveVehicleID() | vehicle | |
getAutoMaxSteerEnabled(int vehicleID) | vehicle | |
getCurrentGear(int vehicleID) | vehicle | |
getCurrentThrottle(int vehicleID) | vehicle | |
getFollowPathName(int vehicleID) | vehicle | |
getMaxBrakeForce(int vehicleID) | vehicle | |
getMaxSpeed_KPH(int vehicleID) | vehicle | |
getMaxSpeed_MPH(int vehicleID) | vehicle | |
getMoveDirection(int vehicleID) | vehicle | |
getNumOfChassis(int vehicleID) | vehicle | |
getNumOfWheels(int vehicleID) | vehicle | |
getRPM(int vehicleID) | vehicle | |
getSpeed_Kph(int vehicleID) | vehicle | |
getSpeed_Mph(int vehicleID) | vehicle | |
getSteeringMulti(int vehicleID) | vehicle | |
getTagOffset(vehID, wheelID) | vehicle | |
getVehicleID(int sceneEntityID, string vehicleName) | vehicle | |
getVelocity(int vehicleID) | vehicle | |
getWheel_ContactForce(int vehicleID, int wheelIndex) | vehicle | |
getWheel_ContactGround(int vehicleID, int wheelIndex) | vehicle | |
getWheel_ContactNormal(int vehicleID, int wheelIndex) | vehicle | |
getWheel_ContactPoint(int vehicleID, int wheelIndex) | vehicle | |
getWheel_ContactPosition(int vehicleID, int wheelIndex) | vehicle | |
getWheel_LateralDirection(int vehicleID, int wheelIndex) | vehicle | |
getWheel_LateralImpulse(int vehicleID, int wheelIndex) | vehicle | |
getWheel_LateralSlip(int vehicleID, int wheelIndex) | vehicle | |
getWheel_LongitudalDirection(int vehicleID, int wheelIndex) | vehicle | |
getWheel_LongitudalImpulse(int vehicleID, int wheelIndex) | vehicle | |
getWheel_LongitudalSlip(int vehicleID, int wheelIndex) | vehicle | |
getWheelGlobalPosition(int vehicleID, int wheelIndex) | vehicle | |
getWheelLocalPosition(int vehicleID, int wheelIndex) | vehicle | |
getWheelMesh(int vehicleID) | vehicle | |
getWheelRadius(int vehicleID, int wheelIndex) | vehicle | |
handBrake(int vehicleID, float torque) | vehicle | |
isDestinationReached(int vehicleID) | vehicle | |
isFollowingPath(int vehicleID) | vehicle | |
isPlayer(int vehicleID) | vehicle | |
setAirResistance(int vehicleID, float baseValue, float multiplier) | vehicle | |
setAngularDamping(int vehicleID, float damp) | vehicle | |
setAngularMomentum(int vehicleID, float x, float y, float z) | vehicle | |
setAngularVelocity(int vehicleID, float x, float y, float z) | vehicle | |
setAntiRollAmount(int vehicleID, float antiRollAmt) | vehicle | |
setAsPlayer(int vehicleID, int isPlayer[1 or 0]) | vehicle | |
setBrakeTorque(int vehicleID, int wheelIndex, float torque) | vehicle | |
setCenterOfMass(int vehicleID, float offsetX, float offsetY, float offsetZ) | vehicle | |
setCurrentGear(int vehicleID, int gear) | vehicle | |
setCurrentThrottle(int vehicleID, float throttle) | vehicle | |
setCustomDebugMaterial(int vehicleID, string customDebugMaterialName) | vehicle | |
setDownforce(int vehicleID, float downforce) | vehicle | |
setGearRatio(int vehicleID, float gearRatio) | vehicle | |
setInverseWheelMass(int vehicleID, int wheelIndex, float amt) | vehicle | |
setLatWheelFrictionSettings(int vehicleID, int wheelIndex, float asymptoteSlip, float asymptoteValue, float extremumSlip, float extremumValue, float stiffnessFactor) | vehicle | |
setLatWheelFrictionStiffness(int vehicleID, int wheelIndex, float stiffnessFactor) | vehicle | |
setLength(int vehicleID, int soundEnumSection, float length) | vehicle | |
setLinearDamping(int vehicleID, float damp) | vehicle | |
setLinearMomentum(int vehicleID, float x, float y, float z) | vehicle | |
setLinearVelocity(int vehicleID, float x, float y, float z) | vehicle | |
setLongWheelFrictionSettings(int vehicleID, int wheelIndex, float asymptoteSlip, float asymptoteValue, float extremumSlip, float extremumValue, float stiffnessFactor) | vehicle | |
setLongWheelFrictionStiffness(int vehicleID, int wheelIndex, float stiffnessFactor) | vehicle | |
setLooped(int vehicleID, int soundEnumSection, int isLooped[0 or 1]) | vehicle | |
setMass(int vehicleID, float mass) | vehicle | |
setMaxSpeed_KPH(int vehicleID, int maxSpeedKPH) | vehicle | |
setMaxSpeed_MPH(int vehicleID, int maxSpeedMPH) | vehicle | |
setMaxSteeringAngle(int vehicleID, float angle) | vehicle | |
setMotorTorque(int vehicleID, int wheelIndex, float torque) | vehicle | |
setNoWheelsDownforce(int vehicleID, float downforce) | vehicle | |
setNumberOfGears(int vehicleID, int numGears) | vehicle | |
setNumberOfWheels(int vehicleID, int numWheels) | vehicle | |
setNumOfChassis(int vehicleID, int chassisNum) | vehicle | |
setOrientation(int vehicleID, float rotW, float rotX, float rotY, float rotZ) | vehicle | |
setPairDownforce(int vehicleID, float downforce) | vehicle | |
setPathAccuracy(int vehicleID, float accuracy) | vehicle | |
setPathMaxTurn(int vehicleID, float maxTurn) | vehicle | |
setPathNodeIndex(int vehicleID, int nodeIndex) | vehicle | |
setPitch(int vehicleID, int soundEnumSection, float pitch) | vehicle | |
setPosition(int vehicleID, float posX, float posY, float posZ) | vehicle | |
setRPM(int vehicleID, int minRpmToGearDown, int maxRpmToGearUp, int minRpm, int maxRpm) | vehicle | |
setSound(int vehicleID, int soundEnumSection, string soundFile) | vehicle | |
setSteeringCoefMulti(int vehicleID, float coeff) | vehicle | |
setSteeringMulti(int vehicleID, float multi) | vehicle | |
setSuspensionSettings(int vehicleID, int wheelIndex, float damperAmt, float springAmt, float targetValue, float suspensionTravel) | vehicle | |
setTagOffset(vehID, wheelID, offset) | vehicle | |
setTorqueCurveSlot(int vehicleID, int rpm, int torque) | vehicle | |
setVolume(int vehicleID, int soundEnumSection, float volume) | vehicle | |
setWheelAsHandbrake(int vehicleID, int wheelIndex) | vehicle | |
setWheelMesh(int vehicleID, string wheelMeshName) | vehicle | |
setWheelParticle(int vehicleID, int wheelIndex, string particleName) | vehicle | |
setWheelParticleEnabled(int vehicleID, int wheelIndex, int isEnabled[0 or 1]) | vehicle | |
setWheelParticlePosition(int vehicleID, int wheelIndex, float x, float y, float z) | vehicle | |
setWheelRadius(int vehicleID, int wheelIndex, float radius) | vehicle | |
showDebug(int vehicleID, int showDebug[0 or 1]) | vehicle | |
steerLeft(int vehicleID, int overrideSteering, float steeringAngle) | vehicle | |
steerRight(int vehicleID, int overrideSteering, float steeringAngle) | vehicle | |
useAirResistance(int vehicleID, int useResistance[0 or 1]) | vehicle | |
useAntiRoll(int vehicleID, int useAntiRoll[0 or 1]) | vehicle | |
useSound(int vehicleID, int soundEnumSection, int useSound[0 or 1]) | vehicle | |
useWheelParticle(int vehicleID, int wheelIndex, int useParticle[0 or 1]) | vehicle |