13 const math::vec3& target,
14 size_t num_bones_in_chain,
15 float threshold = 0.001f,
16 int max_iterations = 10) -> bool;
19 const math::vec3& target,
20 size_t num_bones_in_chain,
21 float threshold = 0.001f,
22 int max_iterations = 10) -> bool;
25 const math::vec3& target,
26 const math::vec3& forward,
29 int max_iterations = 10) -> bool;
32 const math::vec3& target,
33 float weight = 1.0f) -> bool;
46 std::shared_ptr<int> sentinel_ = std::make_shared<int>(0);
auto deinit(rtti::context &ctx) -> bool
void on_frame_before_render(scene &scn, delta_t dt)
void on_play_begin(rtti::context &ctx)
void on_frame_update(scene &scn, delta_t dt)
auto init(rtti::context &ctx) -> bool
std::chrono::duration< float > delta_t
auto ik_set_position_ccd(entt::handle end_effector, const math::vec3 &target, size_t num_bones_in_chain, float threshold, int max_iterations) -> bool
auto ik_set_position_two_bone(entt::handle end_effector, const math::vec3 &target, const math::vec3 &forward, float weight, float soften, int max_iterations) -> bool
auto ik_set_position_fabrik(entt::handle end_effector, const math::vec3 &target, size_t num_bones_in_chain, float threshold, int max_iterations) -> bool
auto ik_look_at_position(entt::handle end_effector, const math::vec3 &target, float weight) -> bool
Represents a scene in the ACE framework, managing entities and their relationships.