32 const auto scaled_timestep = dt * m_time_scale;
39 isometric_growth_group.begin(),
40 isometric_growth_group.end(),
43 auto& growth = isometric_growth_group.get<isometric_growth_component>(entity_id);
44 auto& rigid_body = *isometric_growth_group.get<rigid_body_component>(entity_id).body;
46 rigid_body.set_scale(rigid_body.get_scale() + growth.rate * scaled_timestep);
Abstract base class for updatable systems.
entity::registry & registry
Registry on which the system operate.
entt::registry registry
Component registry type.
Growth component which scales all body parts equally.