Skip to content

LUA Bindings Reference

Jakob Flierl edited this page Jun 12, 2016 · 10 revisions
  • Viewer - instance v in the Lua editor

Objects

Base class Object, derived classes:

Base class Mesh derived classes:

Bullet Physics bindings

See src/wrapper/lua_bullet.cpp

Registered classes:

  • btVector3
  • btVector4
  • btBoxShape
  • btConeShape
  • btRigidBody
  • btTransform
  • btWheelInfo
  • btConeShapeX
  • btConeShapeZ
  • btQuaternion
  • btConvexShape
  • btMotionState
  • btSphereShape
  • btCapsuleShape
  • btConcaveShape
  • btCapsuleShapeX
  • btCapsuleShapeZ
  • btCompoundShape
  • btCylinderShape
  • btTriangleShape
  • btBU_Simplex1to4
  • btCollisionShape
  • btCylinderShapeX
  • btCylinderShapeZ
  • btRaycastVehicle
  • btCollisionObject
  • btConvexHullShape
  • btHingeConstraint
  • btTriangleShapeEx
  • btTypedConstraint
  • btMultiSphereShape
  • btSliderConstraint
  • btVehicleRaycaster
  • btDefaultMotionState
  • btTetrahedronShapeEx
  • btConvexInternalShape
  • btUniformScalingShape
  • btUniversalConstraint
  • btGeneric6DofConstraint
  • btPoint2PointConstraint
  • btPolyhedralConvexShape
  • btStridingMeshInterface
  • btConvexTriangleMeshShape
  • btDefaultVehicleRaycaster
  • btGeneric6DofSpringConstraint
  • btConvexInternalAabbCachingShape
  • btHingeAccumulatedAngleConstraint
  • btPolyhedralConvexAabbCachingShape
  • btRigidBodyConstructionInfo
  • btVehicleTuning

To get a listing of all registered classes, run

bpp -f demo/basic/00-luabind.lua

To get a listing of all functions and properties of the class Cam, run

bpp -f demo/basic/00-luabind.lua -l "info(Cam())"