66 std::span<const Locator> locators,
Stateful query helper for collision primitives against a fixed world plane.
bool isFloorLocatorName(const std::string_view name)
Return true when name uses Momentum's floor-locator prefix.
SupportContactListT< double > SupportContactListd
SupportContactListT< float > SupportContactList
SupportContactListT< T > computeFloorLocatorSupportContacts(const std::span< const JointStateT< T > > states, const std::span< const Locator > locators, const T contactHeight, const SupportPlaneT< T > &supportPlane)
Return floor-locator support contacts and all valid floor-locator positions.
SupportContactT< double > SupportContactd
std::vector< SupportContactT< T > > computePlaneCollisionSupportContacts(PlaneCollisionQueryT< T > &collisionQuery, const std::span< const JointStateT< T > > states, const T contactMargin)
Return support contacts for an explicit plane-collision query object.
std::vector< Vector3< T > > computeSupportContactPositions(const Character &character, const std::span< const JointStateT< T > > states, const T contactHeight, PlaneCollisionQueryT< T > *collisionQuery, const SupportPlaneT< T > &supportPlane)
Return only the world-space positions from floor locators and optional plane-collision contacts.
SupportContactListT< T > computeSupportContacts(const Character &character, const std::span< const JointStateT< T > > states, const T contactHeight, PlaneCollisionQueryT< T > *collisionQuery, const SupportPlaneT< T > &supportPlane)
Return support contacts from floor locators and optional plane-collision contacts.
constexpr size_t kInvalidIndex
Sentinel value indicating an invalid or unset size_t index.
SupportContactT< float > SupportContact
A character model with skeletal structure, mesh, and optional components.
Represents the state of a joint with local and global transformations.
Oriented plane used to classify support contacts and project support polygons.