Structs§
- Constraint
Graph - (b3ConstraintGraph)
- Graph
Color - (b3GraphColor)
Constants§
- DYNAMIC_
COLOR_ COUNT - Keeps dyn-dyn constraints at lower solver priority than dyn-static. (B3_DYNAMIC_COLOR_COUNT)
- OVERFLOW_
INDEX - Constraints that cannot fit the graph color limit. (B3_OVERFLOW_INDEX)
Functions§
- add_
contact_ to_ graph - Contacts are created non-touching; once touching they enter the graph. (b3AddContactToGraph)
- add_
joint_ to_ graph - (b3AddJointToGraph)
- create_
joint_ in_ graph - Allocate a zeroed joint sim slot in the graph for the joint and set the joint’s color/local indices. Returns (color_index, local_index). (b3CreateJointInGraph — C returns the sim pointer; the caller writes it)
- remove_
contact_ from_ graph - (b3RemoveContactFromGraph)
- remove_
joint_ from_ graph - (b3RemoveJointFromGraph)