4#include <entt/entt.hpp>
20 const math::vec3& target,
21 const math::vec3& pole,
22 size_t num_bones_in_chain,
23 int max_iterations = 10,
24 float threshold = 0.001f) -> bool;
27 const math::vec3& target,
28 const math::vec3& pole,
29 size_t num_bones_in_chain,
30 int max_iterations = 10,
31 float threshold = 0.001f) -> bool;
34 const math::vec3& target,
35 const math::vec3& pole,
37 float soften = 1.0f) -> bool;
40 const math::vec3& target,
41 float weight = 1.0f) -> bool;
auto ik_set_position_two_bone(entt::handle end_effector, const math::vec3 &target, const math::vec3 &pole, float weight, float soften) -> bool
auto ik_set_position_fabrik(entt::handle end_effector, const math::vec3 &target, const math::vec3 &pole, size_t num_bones_in_chain, int max_iterations, float threshold) -> bool
auto ik_set_position_ccd(entt::handle end_effector, const math::vec3 &target, const math::vec3 &pole, size_t num_bones_in_chain, int max_iterations, float threshold) -> bool
auto ik_look_at_position(entt::handle end_effector, const math::vec3 &target, float weight) -> bool
auto ik_get_facing_adjustment_rotation(entt::handle end_effector) -> math::quat
Returns the armature root local rotation for the model owning this bone.