Expand description
Foreign function interface for Bullet C API.
Structs§
- b3AABB
Overlap Data - b3Body
Info - b3Camera
Image Data - b3Collision
Shape Data - b3Collision
Shape Information - b3Contact
Information - b3Contact
Point Data - b3Dynamics
Info - b3Joint
Info - b3Joint
Sensor State - b3Joint
Sensor State2 - b3Keyboard
Event - b3Keyboard
Events Data - b3Link
State - b3Mouse
Event - b3Mouse
Events Data - b3OpenGL
Visualizer Camera Info - b3Overlapping
Object - b3Physics
Client Handle__ - b3Physics
Simulation Parameters - b3Ray
HitInfo - b3Raycast
Information - b3Shared
Memory Command Handle__ - b3Shared
Memory Status Handle__ - b3User
Constraint - b3User
Constraint State - b3User
Data Value - b3VR
Controller Event - b3VR
Events Data - b3Visual
Shape Data - b3Visual
Shape Information
Enums§
Constants§
- B3_
MAX_ NUM_ INDICES - B3_
MAX_ NUM_ VERTICES - MAX_
RAY_ INTERSECTION_ BATCH_ SIZE_ STREAMING - MAX_
SDF_ BODIES - MAX_
VR_ ANALOG_ AXIS - MAX_
VR_ BUTTONS - MAX_
VR_ CONTROLLERS - SHARED_
MEMORY_ KEY - SHARED_
MEMORY_ MAGIC_ NUMBER - USER_
DATA_ VALUE_ TYPE_ BYTES - USER_
DATA_ VALUE_ TYPE_ STRING - VR_
CAMERA_ TRACK_ OBJECT_ ORIENTATION - VR_
CONTROLLER_ BUTTON_ EVENT - VR_
CONTROLLER_ MOVE_ EVENT - VR_
DEVICE_ CONTROLLER - VR_
DEVICE_ GENERIC_ TRACKER - VR_
DEVICE_ HMD - VR_
GENERIC_ TRACKER_ MOVE_ EVENT - VR_
HMD_ MOVE_ EVENT
Functions§
- b3Add
Body ⚠ToSync User Data Request - b3Apply
External ⚠Force - b3Apply
External ⚠Force Command Init - Apply external force at the body (or link) center of mass, in world space/Cartesian coordinates.
- b3Apply
External ⚠Torque - b3Calculate
Inverse ⚠Dynamics Command Init2 - b3Calculate
Inverse ⚠Dynamics SetFlags - b3Calculate
Inverse ⚠Kinematics AddTarget Position With Orientation - b3Calculate
Inverse ⚠Kinematics AddTarget Pure Position - b3Calculate
Inverse ⚠Kinematics AddTargets Pure Position - b3Calculate
Inverse ⚠Kinematics Command Init - b3Calculate
Inverse ⚠Kinematics PosOrn With Null Space Vel - b3Calculate
Inverse ⚠Kinematics PosWith Null Space Vel - b3Calculate
Inverse ⚠Kinematics Select Solver - b3Calculate
Inverse ⚠Kinematics SetCurrent Positions - b3Calculate
Inverse ⚠Kinematics SetJoint Damping - b3Calculate
Inverse ⚠Kinematics SetMax NumIterations - b3Calculate
Inverse ⚠Kinematics SetResidual Threshold - b3Calculate
Jacobian ⚠Command Init - b3Calculate
Mass ⚠Matrix Command Init - b3Calculate
Mass ⚠Matrix SetFlags - b3Can
Submit ⚠Command - b3Change
Dynamics ⚠Info SetActivation State - b3Change
Dynamics ⚠Info SetAngular Damping - b3Change
Dynamics ⚠Info SetAnisotropic Friction - b3Change
Dynamics ⚠Info SetCcd Swept Sphere Radius - b3Change
Dynamics ⚠Info SetCollision Margin - b3Change
Dynamics ⚠Info SetContact Processing Threshold - b3Change
Dynamics ⚠Info SetContact Stiffness AndDamping - b3Change
Dynamics ⚠Info SetDynamic Type - b3Change
Dynamics ⚠Info SetFriction Anchor - b3Change
Dynamics ⚠Info SetJoint Damping - b3Change
Dynamics ⚠Info SetJoint Limit - b3Change
Dynamics ⚠Info SetJoint Limit Force - b3Change
Dynamics ⚠Info SetLateral Friction - b3Change
Dynamics ⚠Info SetLinear Damping - b3Change
Dynamics ⚠Info SetLocal Inertia Diagonal - b3Change
Dynamics ⚠Info SetMass - b3Change
Dynamics ⚠Info SetMax Joint Velocity - b3Change
Dynamics ⚠Info SetRestitution - b3Change
Dynamics ⚠Info SetRolling Friction - b3Change
Dynamics ⚠Info SetSpinning Friction - b3Collision
Filter ⚠Command Init - b3Compute
DofCount ⚠ - b3Compute
Position ⚠From View Matrix - b3Compute
Projection ⚠Matrix - b3Compute
Projection ⚠MatrixFOV - b3Compute
View ⚠Matrix From Positions - b3Compute
View ⚠Matrix From YawPitch Roll - b3Configure
OpenGL ⚠Visualizer SetLight Position - b3Configure
OpenGL ⚠Visualizer SetLight RgbBackground - b3Configure
OpenGL ⚠Visualizer SetRemote Sync Transform Interval - b3Configure
OpenGL ⚠Visualizer SetShadow MapIntensity - b3Configure
OpenGL ⚠Visualizer SetShadow MapResolution - b3Configure
OpenGL ⚠Visualizer SetShadow MapWorld Size - b3Configure
OpenGL ⚠Visualizer SetView Matrix - b3Configure
OpenGL ⚠Visualizer SetVisualization Flags - b3Connect
PhysicsDART ⚠ - b3Connect
Physics ⚠Direct - b3Connect
PhysicsGRPC ⚠ - b3Connect
Physics ⚠MuJo Co - b3Connect
Physics ⚠PhysX - b3Connect
PhysicsTCP ⚠ - b3Connect
PhysicsUDP ⚠ - b3Connect
Shared ⚠Memory - b3Create
Change ⚠Texture Command Init - b3Create
Collision ⚠SetFlag - b3Create
Collision ⚠Shape AddBox - b3Create
Collision ⚠Shape AddCapsule - b3Create
Collision ⚠Shape AddConcave Mesh - b3Create
Collision ⚠Shape AddConvex Mesh - b3Create
Collision ⚠Shape AddCylinder - b3Create
Collision ⚠Shape AddHeightfield - b3Create
Collision ⚠Shape AddHeightfield2 - b3Create
Collision ⚠Shape AddMesh - b3Create
Collision ⚠Shape AddPlane - b3Create
Collision ⚠Shape AddSphere - b3Create
Collision ⚠Shape Command Init - the creation of collision shapes and rigid bodies etc is likely going to change, but good to have a b3CreateBoxShapeCommandInit for now
- b3Create
Collision ⚠Shape SetChild Transform - b3Create
Custom ⚠Command - b3Create
InProcess ⚠Graphics Server AndConnect Main Thread Shared Memory - b3Create
InProcess ⚠Graphics Server AndConnect Shared Memory - b3Create
InProcess ⚠Physics Server AndConnect - b3Create
InProcess ⚠Physics Server AndConnect Main Thread - b3Create
InProcess ⚠Physics Server AndConnect Main Thread Shared Memory - b3Create
InProcess ⚠Physics Server AndConnect Shared Memory - b3Create
InProcess ⚠Physics Server From Existing Example Browser AndConnect3 - b3Create
InProcess ⚠Physics Server From Existing Example Browser AndConnect4 - b3Create
InProcess ⚠Physics Server From Existing Example Browser AndConnectTCP - b3Create
Multi ⚠Body Base - b3Create
Multi ⚠Body Command Init - b3Create
Multi ⚠Body Link - b3Create
Multi ⚠Body SetBatch Positions - b3Create
Multi ⚠Body SetFlags - b3Create
Multi ⚠Body UseMaximal Coordinates - b3Create
Pose ⚠Command Init - b3Create
Pose ⚠Command SetBase Angular Velocity - b3Create
Pose ⚠Command SetBase Linear Velocity - b3Create
Pose ⚠Command SetBase Orientation - b3Create
Pose ⚠Command SetBase Position - b3Create
Pose ⚠Command SetJoint Position - b3Create
Pose ⚠Command SetJoint Position Multi Dof - b3Create
Pose ⚠Command SetJoint Velocity - b3Create
Pose ⚠Command SetJoint Velocity Multi Dof - b3Create
Raycast ⚠Batch Command Init - b3Create
Raycast ⚠Command Init - b3Create
Sensor ⚠Command Init - We are currently not reading the sensor information from the URDF file, and programmatically assign sensors. This is rather inconsistent, to mix programmatical creation with loading from file.
- b3Create
Sensor ⚠Enable6 DofJoint Force Torque Sensor - b3Create
Visual ⚠SetFlag - b3Create
Visual ⚠Shape AddBox - b3Create
Visual ⚠Shape AddCapsule - b3Create
Visual ⚠Shape AddCylinder - b3Create
Visual ⚠Shape AddMesh - b3Create
Visual ⚠Shape AddMesh2 - b3Create
Visual ⚠Shape AddPlane - b3Create
Visual ⚠Shape AddSphere - b3Create
Visual ⚠Shape Command Init - b3Create
Visual ⚠Shape SetChild Transform - b3Create
Visual ⚠Shape SetRGBA Color - b3Create
Visual ⚠Shape SetSpecular Color - b3Custom
Command ⚠Execute AddFloat Argument - b3Custom
Command ⚠Execute AddInt Argument - b3Custom
Command ⚠Execute Plugin Command - b3Custom
Command ⚠Load Plugin - b3Custom
Command ⚠Load Plugin SetPost Fix - b3Custom
Command ⚠Unload Plugin - b3Disconnect
Shared ⚠Memory - b3GetAABB
Overlap ⚠Results - b3Get
Body ⚠Info - given a body unique id, return the body information. See b3BodyInfo in SharedMemoryPublic.h
- b3Get
Body ⚠Unique Id - return the body unique id, given the index in range [0 , b3GetNumBodies() )
- b3Get
Camera ⚠Image Data - b3Get
Closest ⚠Point Information - b3Get
Collision ⚠Shape Information - b3Get
Contact ⚠Point Information - b3Get
Debug ⚠Item Unique Id - b3Get
Dynamics ⚠Info - given a body unique id and link index, return the dynamics information. See b3DynamicsInfo in SharedMemoryPublic.h
- b3Get
Dynamics ⚠Info Command Init - b3Get
Joint ⚠Info - b3Get
Joint ⚠State - b3Get
Joint ⚠State Multi Dof - b3Get
Keyboard ⚠Events Data - b3Get
Link ⚠State - b3Get
Mouse ⚠Events Data - b3Get
NumBodies ⚠ - return the total number of bodies in the simulation
- b3Get
NumJoints ⚠ - b3Get
NumUser ⚠Constraints - b3Get
NumUser ⚠Data - b3Get
Raycast ⚠Information - b3Get
StatusAABB ⚠ - b3Get
Status ⚠Actual State - b3Get
Status ⚠Body Index - b3Get
Status ⚠Body Indices - b3Get
Status ⚠Collision Shape Unique Id - b3Get
Status ⚠Debug Parameter Value - b3Get
Status ⚠GetState Id - b3Get
Status ⚠Inverse Dynamics Joint Forces - b3Get
Status ⚠Inverse Kinematics Joint Positions - b3Get
Status ⚠Jacobian - b3Get
Status ⚠Logging Unique Id - b3Get
Status ⚠Mass Matrix - the mass matrix is stored in column-major layout of size dofCount*dofCount
- b3Get
Status ⚠OpenGL Visualizer Camera - b3Get
Status ⚠Physics Simulation Parameters - b3Get
Status ⚠Plugin Command Result - b3Get
Status ⚠Plugin Command Return Data - b3Get
Status ⚠Plugin Unique Id - b3Get
Status ⚠Texture Unique Id - b3Get
Status ⚠Type - b3Get
Status ⚠User Constraint State - b3Get
Status ⚠User Constraint Unique Id - return a unique id for the user constraint, after successful creation, or -1 for an invalid constraint id
- b3Get
Status ⚠Visual Shape Unique Id - b3Get
Time ⚠Out - b3Get
User ⚠Constraint Id - return the user constraint id, given the index in range [0 , b3GetNumUserConstraints() )
- b3Get
User ⚠Constraint Info - b3Get
User ⚠Data - b3Get
User ⚠Data Id - b3Get
User ⚠Data IdFrom Status - b3Get
User ⚠Data Info - b3GetVR
Events ⚠Data - b3Get
Visual ⚠Shape Information - b3InitAABB
Overlap ⚠Query - get all the bodies that touch a given axis aligned bounding box specified in world space (min and max coordinates)
- b3Init
AddUser ⚠Data Command - b3Init
Change ⚠Dynamics Info - b3Init
Change ⚠User Constraint Command - change parameters of an existing user constraint
- b3Init
Change ⚠User Constraint SetERP - b3Init
Change ⚠User Constraint SetFrame InB - b3Init
Change ⚠User Constraint SetGear AuxLink - b3Init
Change ⚠User Constraint SetGear Ratio - b3Init
Change ⚠User Constraint SetMax Force - b3Init
Change ⚠User Constraint SetPivot InB - b3Init
Change ⚠User Constraint SetRelative Position Target - b3Init
Closest ⚠Distance Query - compute the closest points between two bodies
- b3Init
Configure ⚠OpenGL Visualizer - b3Init
Create ⚠Soft Body Anchor Constraint Command - b3Init
Create ⚠User Constraint Command - b3Init
Debug ⚠Drawing Command - b3Init
GetUser ⚠Constraint State Command - b3Init
Load ⚠Texture - b3Init
Perform ⚠Collision Detection Command - b3Init
Physics ⚠Param Command - b3Init
Physics ⚠Param Command2 - b3Init
Remove ⚠Body Command - b3Init
Remove ⚠Collision Shape Command - b3Init
Remove ⚠State Command - b3Init
Remove ⚠User Constraint Command - b3Init
Remove ⚠User Data Command - b3Init
Request ⚠Camera Image - request an image from a simulated camera, using a software renderer.
- b3Init
Request ⚠Camera Image2 - b3Init
Request ⚠Collision Shape Information - b3Init
Request ⚠Contact Point Information - request an contact point information
- b3Init
Request ⚠OpenGL Visualizer Camera Command - b3Init
Request ⚠Physics Param Command - b3Init
Request ⚠Visual Shape Information - b3Init
Reset ⚠Simulation Command - b3Init
Reset ⚠Simulation Command2 - b3Init
Reset ⚠Simulation SetFlags - b3Init
Step ⚠Simulation Command - b3Init
Sync ⚠Body Info Command - b3Init
Sync ⚠User Data Command - b3Init
Update ⚠Visual Shape - b3Init
Update ⚠Visual Shape2 - b3Init
User ⚠Debug AddParameter - b3Init
User ⚠Debug Draw AddLine3D - Add/remove user-specific debug lines and debug text messages
- b3Init
User ⚠Debug Draw AddPoints3D - b3Init
User ⚠Debug Draw AddText3D - b3Init
User ⚠Debug Draw Remove - b3Init
User ⚠Debug Draw Remove All - b3Init
User ⚠Debug Read Parameter - b3Init
User ⚠Remove AllParameters - b3Joint
Control ⚠Command Init2 - b3Joint
Control ⚠SetDamping - b3Joint
Control ⚠SetDamping Multi Dof - b3Joint
Control ⚠SetDesired Force Torque - b3Joint
Control ⚠SetDesired Force Torque Multi Dof - b3Joint
Control ⚠SetDesired Position - b3Joint
Control ⚠SetDesired Position Multi Dof - b3Joint
Control ⚠SetDesired Velocity - b3Joint
Control ⚠SetDesired Velocity Multi Dof - b3Joint
Control ⚠SetKd - b3Joint
Control ⚠SetKd Multi Dof - b3Joint
Control ⚠SetKp - b3Joint
Control ⚠SetKp Multi Dof - b3Joint
Control ⚠SetMaximum Force - b3Joint
Control ⚠SetMaximum Velocity - b3Load
Bullet ⚠Command Init - b3LoadMJCF
Command ⚠Init - b3LoadMJCF
Command ⚠Init2 - b3LoadMJCF
Command ⚠SetFlags - b3LoadMJCF
Command ⚠SetUse Multi Body - b3Load
SdfCommand ⚠Init - b3Load
SdfCommand ⚠SetUse Global Scaling - b3Load
SdfCommand ⚠SetUse Multi Body - b3Load
Soft ⚠Body AddCorotated Force - b3Load
Soft ⚠Body AddGravity Force - b3Load
Soft ⚠Body AddMass Spring Force - b3Load
Soft ⚠Body AddNeo Hookean Force - b3Load
Soft ⚠Body Command Init - experiments of robots interacting with non-rigid objects (such as btSoftBody)
- b3Load
Soft ⚠Body SetCollision Hardness - b3Load
Soft ⚠Body SetCollision Margin - b3Load
Soft ⚠Body SetFriction Coefficient - b3Load
Soft ⚠Body SetMass - b3Load
Soft ⚠Body SetRepulsion Stiffness - b3Load
Soft ⚠Body SetScale - b3Load
Soft ⚠Body SetSelf Collision - b3Load
Soft ⚠Body SetStart Orientation - b3Load
Soft ⚠Body SetStart Position - b3Load
Soft ⚠Body Update SimMesh - b3Load
Soft ⚠Body UseAll Direction Damping Springs - b3Load
Soft ⚠Body UseBending Springs - b3Load
Soft ⚠Body UseFace Contact - b3Load
State ⚠Command Init - b3Load
State ⚠SetFile Name - b3Load
State ⚠SetState Id - b3Load
Urdf ⚠Command Init - b3Load
Urdf ⚠Command SetFlags - b3Load
Urdf ⚠Command SetGlobal Scaling - b3Load
Urdf ⚠Command SetStart Orientation - b3Load
Urdf ⚠Command SetStart Position - b3Load
Urdf ⚠Command SetUse Fixed Base - b3Load
Urdf ⚠Command SetUse Multi Body - b3Physics
Param ⚠SetArticulated Warm Starting Factor - b3Physics
Param ⚠SetCollision Filter Mode - b3Physics
Param ⚠SetContact Breaking Threshold - b3Physics
Param ⚠SetContact Slop - b3Physics
Param ⚠SetDefault ContactERP - b3Physics
Param ⚠SetDefault FrictionCFM - b3Physics
Param ⚠SetDefault FrictionERP - b3Physics
Param ⚠SetDefault GlobalCFM - b3Physics
Param ⚠SetDefault NonContactERP - b3Physics
Param ⚠SetEnable Cone Friction - b3Physics
Param ⚠SetEnable File Caching - b3Physics
Param ⚠SetGravity - b3Physics
Param ⚠SetInternal SimFlags - b3Physics
Param ⚠SetMax NumCommands Per1ms - b3Physics
Param ⚠SetNum NonContact Inner Iterations - b3Physics
Param ⚠SetNum Solver Iterations - b3Physics
Param ⚠SetNum SubSteps - b3Physics
Param ⚠SetReal Time Simulation - b3Physics
Param ⚠SetRestitution Velocity Threshold - b3Physics
Param ⚠SetSolver Analytics - b3Physics
Param ⚠SetSolver Residual Threshold - b3Physics
Param ⚠SetSplit Impulse Penetration Threshold - b3Physics
Param ⚠SetTime Step - b3Physics
Param ⚠SetUse Split Impulse - b3Physics
Param ⚠SetWarm Starting Factor - b3Physics
Parameter ⚠SetAllowed CcdPenetration - b3Physics
Parameter ⚠SetConstraint Solver Type - b3Physics
Parameter ⚠SetDeterministic Overlapping Pairs - b3Physics
Parameter ⚠SetEnableSAT - b3Physics
Parameter ⚠SetJoint Feedback Mode - b3Physics
Parameter ⚠SetMinimum Solver Island Size - b3Physics
Parameter ⚠SetSparse SdfVoxel Size - b3Pop
Profile ⚠Timing - b3Profile
Timing ⚠Command Init - b3Push
Profile ⚠Timing - b3Raycast
Batch ⚠AddRay - b3Raycast
Batch ⚠AddRays - b3Raycast
Batch ⚠SetCollision Filter Mask - b3Raycast
Batch ⚠SetFraction Epsilon - b3Raycast
Batch ⚠SetNum Threads - b3Raycast
Batch ⚠SetParent Object - b3Raycast
Batch ⚠SetReport HitNumber - b3Remove
Debug ⚠Object Color - b3Request
Actual ⚠State Command Compute Forward Kinematics - b3Request
Actual ⚠State Command Compute Link Velocity - b3Request
Actual ⚠State Command Init - b3Request
Camera ⚠Image Select Renderer - b3Request
Camera ⚠Image SetCamera Matrices - b3Request
Camera ⚠Image SetFlags - b3Request
Camera ⚠Image SetLight Ambient Coeff - b3Request
Camera ⚠Image SetLight Color - b3Request
Camera ⚠Image SetLight Diffuse Coeff - b3Request
Camera ⚠Image SetLight Direction - b3Request
Camera ⚠Image SetLight Distance - b3Request
Camera ⚠Image SetLight Specular Coeff - b3Request
Camera ⚠Image SetPixel Resolution - b3Request
Camera ⚠Image SetProjective Texture Matrices - set projective texture camera matrices.
- b3Request
Camera ⚠Image SetShadow - b3Request
Collision ⚠Info Command Init - b3Request
Keyboard ⚠Events Command Init - b3Request
Keyboard ⚠Events Command Init2 - b3Request
Mouse ⚠Events Command Init - b3RequestVR
Events ⚠Command Init - b3Save
Bullet ⚠Command Init - b3Save
State ⚠Command Init - b3Save
World ⚠Command Init - b3Set
Additional ⚠Search Path - b3Set
Closest ⚠Distance Filter BodyA - b3Set
Closest ⚠Distance Filter BodyB - b3Set
Closest ⚠Distance Filter Collision ShapeA - b3Set
Closest ⚠Distance Filter Collision ShapeB - b3Set
Closest ⚠Distance Filter Collision Shape OrientationA - b3Set
Closest ⚠Distance Filter Collision Shape OrientationB - b3Set
Closest ⚠Distance Filter Collision Shape PositionA - b3Set
Closest ⚠Distance Filter Collision Shape PositionB - b3Set
Closest ⚠Distance Filter LinkA - b3Set
Closest ⚠Distance Filter LinkB - b3Set
Closest ⚠Distance Threshold - b3Set
Collision ⚠Filter Group Mask - b3Set
Collision ⚠Filter Pair - b3Set
Contact ⚠Filter BodyA - b3Set
Contact ⚠Filter BodyB - b3Set
Contact ⚠Filter LinkA - b3Set
Contact ⚠Filter LinkB - b3Set
Debug ⚠Object Color - b3Set
Profile ⚠Timing Duraction InMicro Seconds - b3Set
Profile ⚠Timing Type - b3Set
Time ⚠Out - b3SetVR
Camera ⚠Root Orientation - b3SetVR
Camera ⚠Root Position - b3SetVR
Camera ⚠State Command Init - b3SetVR
Camera ⚠Tracking Object - b3SetVR
Camera ⚠Tracking Object Flag - b3State
Logging ⚠AddLogging Object Unique Id - b3State
Logging ⚠Command Init - b3State
Logging ⚠SetBodyA Unique Id - b3State
Logging ⚠SetBodyB Unique Id - b3State
Logging ⚠SetDevice Type Filter - b3State
Logging ⚠SetLink IndexA - b3State
Logging ⚠SetLink IndexB - b3State
Logging ⚠SetLog Flags - b3State
Logging ⚠SetMax LogDof - b3State
Logging ⚠Start - b3State
Logging ⚠Stop - b3Submit
Client ⚠Command AndWait Status - b3Update
Visual ⚠Shape Flags - b3Update
Visual ⚠ShapeRGBA Color - b3Update
Visual ⚠Shape Specular Color - b3Update
Visual ⚠Shape Texture - b3User
Debug ⚠Item SetParent Object - b3User
Debug ⚠Item SetReplace Item Unique Id - b3User
Debug ⚠Text SetOption Flags - b3User
Debug ⚠Text SetOrientation - b3VR
Events ⚠SetDevice Type Filter