20 #ifndef ANTKEEPER_GAME_CONSTRAINT_SYSTEM_HPP
21 #define ANTKEEPER_GAME_CONSTRAINT_SYSTEM_HPP
50 virtual void update(
float t,
float dt);
Applies constraint stacks to transform components.
constraint_system(entity::registry ®istry)
virtual void update(float t, float dt)
Perform's a system's update() function.
void evaluate(entity::id entity_id)
Manually evaluates an entity's constraints.
Abstract base class for updatable systems.
entity::registry & registry
Registry on which the system operate.
entt::registry registry
Component registry type.
entt::entity id
Entity ID type.
Makes the entity a child of the target entity.
Copies the rotation of a target entity.
Copies the scale of a target entity.
Copies the translation of a target entity.
Eases toward a target entity.
Pivots around a target entity.
Springs to a target entity.
Builds rotation from 3DoF angles.
Rotates a transform to face a target.