-
-
Notifications
You must be signed in to change notification settings - Fork 6
LUA Bindings Reference
Jakob Flierl edited this page Jul 20, 2025
·
20 revisions
-
Viewer - instance
v
in the LUA script editor
Base class Object, derived classes:
Base class Mesh derived classes:
- btBoxShape
- btConeShape
- btRigidBody
- btTransform
- btWheelInfo
- JoystickInfo
- btConeShapeX
- btConeShapeZ
- btEmptyShape
- btQuaternion
- btConvexShape
- btMotionState
- btSphereShape
- btCapsuleShape
- btConcaveShape
- btTriangleMesh
- btCapsuleShapeX
- btCapsuleShapeZ
- btCompoundShape
- btCylinderShape
- btTriangleShape
- btBU_Simplex1to4
- btCollisionShape
- btCylinderShapeX
- btCylinderShapeZ
- btRaycastVehicle
- btCollisionObject
- btConvexHullShape
- btHingeConstraint
- btTriangleShapeEx
- btTypedConstraint
- btGImpactMeshShape
- btMultiSphereShape
- btSliderConstraint
- btVehicleRaycaster
- btDefaultMotionState
- btTetrahedronShapeEx
- btConvexInternalShape
- btUniformScalingShape
- btUniversalConstraint
- btGImpactShapeInterface
- btGeneric6DofConstraint
- btPoint2PointConstraint
- btPolyhedralConvexShape
- btStridingMeshInterface
- btConvexTriangleMeshShape
- btDefaultVehicleRaycaster
- btTriangleIndexVertexArray
- btGeneric6DofSpringConstraint
- btConvexInternalAabbCachingShape
- btHingeAccumulatedAngleConstraint
- btPolyhedralConvexAabbCachingShape
- Cam
- Cube
- Mesh
- Plane
- Object
- QColor
- Sphere
- Viewer
- btAABB
- Objects
- Palette
- QString
- Cylinder
- OpenSCAD
- btVector3
- btVector4
- btRigidBodyConstructionInfo
- btVehicleTuning
- class_info_data
- Camera
-
btVector3
- properties:
- y number
- x number
- z number
- methods:
- __init
- getX
- __tostring
- fuzzyZero
- normalize
- dot
- angle
- minAxis
- isZero
- __div
- distance2
- cross
- rotate
- furthestAxis
- __eq
- maxAxis
- triple
- absolute
- getY
- setZ
- closestAxis
- setY
- length2
- distance
- setX
- __add
- setZero
- normalized
- __mul
- getZ
- length
- __sub
- lerp
- properties:
-
btBoxShape
- properties:
- userPointer nil
- methods:
- __init
- localGetSupportVertexNonVirtual
- getUserPointer
- getShapeType
- getMarginNonVirtual
- serialize
- getLocalScaling
- getMargin
- calculateLocalInertia
- getHalfExtentsWithoutMargin
- setLocalScaling
- isCompound
- setMargin
- serializeSingleShape
- isConvex
- getHalfExtentsWithMargin
- getImplicitShapeDimensions
- localGetSupportVertexWithoutMarginNonVirtual
- getAabb
- setSafeMargin
- getMarginNV
- isConvex2d
- setImplicitShapeDimensions
- getAabbNonVirtual
- getName
- isNonMoving
- getLocalScalingNV
- isSoftBody
- isInfinite
- setUserPointer
- localGetSupportingVertexWithoutMargin
- calculateSerializeBufferSize
- isPolyhedral
- isConcave
- properties:
-
btConeShape
- properties:
- userPointer nil
- radius number
- height number
- methods:
- __init
- localGetSupportVertexNonVirtual
- localGetSupportingVertex
- getUserPointer
- getShapeType
- getMarginNonVirtual
- serialize
- getRadius
- setImplicitShapeDimensions
- getMargin
- calculateLocalInertia
- setRadius
- setSafeMargin
- setLocalScaling
- isCompound
- setMargin
- serializeSingleShape
- setHeight
- isConvex
- getImplicitShapeDimensions
- localGetSupportVertexWithoutMarginNonVirtual
- isNonMoving
- isConvex2d
- setConeUpIndex
- calculateSerializeBufferSize
- getConeUpIndex
- getLocalScaling
- isInfinite
- getAabbNonVirtual
- getName
- localGetSupportingVertexWithoutMargin
- getLocalScalingNV
- getHeight
- isSoftBody
- getAabb
- setUserPointer
- getMarginNV
- isPolyhedral
- isConcave
- properties:
-
btTransform
- methods:
- setIdentity
- setRotation
- inverseTimes
- getRotation
- setFromOpenGLMatrix
- __init
- mult
- inverse
- invXform
- getIdentity
- setBasis
- getOpenGLMatrix
- setOrigin
- methods:
-
btDefaultMotionState
- methods:
- __init
- setWorldTransform
- getWorldTransform
- methods:
-
btBoxShape
- properties:
- userPointer nil
- methods:
- __init
- localGetSupportVertexNonVirtual
- getUserPointer
- getShapeType
- getMarginNonVirtual
- serialize
- getLocalScaling
- getMargin
- calculateLocalInertia
- getHalfExtentsWithoutMargin
- setLocalScaling
- isCompound
- setMargin
- serializeSingleShape
- isConvex
- getHalfExtentsWithMargin
- getImplicitShapeDimensions
- localGetSupportVertexWithoutMarginNonVirtual
- getAabb
- setSafeMargin
- getMarginNV
- isConvex2d
- setImplicitShapeDimensions
- getAabbNonVirtual
- getName
- isNonMoving
- getLocalScalingNV
- isSoftBody
- isInfinite
- setUserPointer
- localGetSupportingVertexWithoutMargin
- calculateSerializeBufferSize
- isPolyhedral
- isConcave
- properties:
-
btRigidBodyConstructionInfo
- methods:
- __init
- methods:
-
btRigidBody
- methods:
- getCenterOfMassTransform
- __init
- getAngularSleepingThreshold
- clearForces
- setNewBroadphaseProxy
- computeImpulseDenominator
- getMotionState
- setCenterOfMassTransform
- getConstraintRef
- checkCollideWithOverride
- setGravity
- setDamping
- isStaticObject
- getWorldTransform
- proceedToTransform
- setLinearVelocity
- setWorldTransform
- getNumConstraintRefs
- getCcdMotionThreshold
- getCollisionShape
- integrateVelocities
- getCollisionFlags
- applyImpulse
- translate
- forceActivationState
- getAabb
- predictIntegratedTransform
- getAngularDamping
- getInterpolationWorldTransform
- updateInertiaTensor
- setIslandTag
- getVelocityInLocalPoint
- setInvInertiaDiagLocal
- checkCollideWith
- updateDeactivation
- setActivationState
- getCenterOfMassPosition
- setInterpolationLinearVelocity
- getInvMass
- setInterpolationWorldTransform
- getBroadphaseProxy
- setMotionState
- setUserPointer
- setFlags
- setAngularFactor
- getCcdSweptSphereRadius
- getLinearDamping
- getCompanionId
- getLinearFactor
- applyCentralForce
- setLinearFactor
- getFlags
- applyDamping
- computeAngularImpulseDenominator
- wantsSleeping
- getActivationState
- setAnisotropicFriction
- isInWorld
- setCcdMotionThreshold
- setSleepingThresholds
- getInterpolationAngularVelocity
- setFriction
- hasContactResponse
- getGravity
- getAngularFactor
- applyTorque
- getUserPointer
- setCompanionId
- addConstraintRef
- getLinearSleepingThreshold
- setHitFraction
- setCollisionFlags
- applyTorqueImpulse
- setContactProcessingThreshold
- getCcdSquareMotionThreshold
- getAnisotropicFriction
- getTotalTorque
- setRestitution
- isActive
- getInvInertiaTensorWorld
- getFriction
- getOrientation
- getHitFraction
- setAngularVelocity
- getTotalForce
- setInterpolationAngularVelocity
- getInvInertiaDiagLocal
- hasAnisotropicFriction
- applyGravity
- getLinearVelocity
- applyCentralImpulse
- saveKinematicState
- setDeactivationTime
- setCcdSweptSphereRadius
- getInterpolationLinearVelocity
- getIslandTag
- removeConstraintRef
- getRestitution
- activate
- getBroadphaseHandle
- setMassProps
- mergesSimulationIslands
- isKinematicObject
- getAngularVelocity
- getDeactivationTime
- applyForce
- methods:
(WIP)