Struct physics_manifold

Struct Documentation

struct legion::physics::physics_manifold

contains the necessary information to detect and resolve a collision

Public Functions

inline bool DEBUG_checkID(std::string firstID, std::string secondID) const
inline void GetPairID(std::string &str1, std::string &str2) const

Public Members

std::vector<physics_contact> contacts
math::mat4 transformA
math::mat4 transformB
PhysicsCollider *colliderA
PhysicsCollider *colliderB
ecs::entity_handle entityA
ecs::entity_handle entityB
physics::physicsComponent *physicsCompA
physics::physicsComponent *physicsCompB
physics::rigidbody *rigidbodyA
physics::rigidbody *rigidbodyB
std::unique_ptr<PenetrationQuery> penetrationInformation
bool isColliding