Engine²
Open-source game engine written in C++.
Loading...
Searching...
No Matches
Physics::Exception::ConstraintError Class Reference

Exception thrown when a constraint operation fails. More...

#include <ConstraintError.hpp>

Inheritance diagram for Physics::Exception::ConstraintError:

Detailed Description

Exception thrown when a constraint operation fails.

This exception is thrown in scenarios such as:

  • Creating a constraint with invalid body entities
  • Attempting to constrain a body to itself
  • Both constraint bodies being static
  • Invalid constraint parameters (e.g., maxDistance < minDistance)
  • Jolt physics system not being activated

The documentation for this class was generated from the following file: