IKModifier3D
继承: SkeletonModifier3D < Node3D < Node < Object
派生: ChainIK3D, TwoBoneIK3D
A node for inverse kinematics which may modify more than one bone.
描述
Base class of SkeletonModifier3Ds that has some joint lists and applies inverse kinematics. This class has some structs, enums, and helper methods which are useful to solve inverse kinematics.
教程
属性
|
方法
void |
|
get_setting_count() const |
|
void |
reset() |
void |
set_setting_count(count: int) |
属性说明
bool mutable_bone_axes = true 🔗
If true, the solver retrieves the bone axis from the bone pose every frame.
If false, the solver retrieves the bone axis from the bone rest and caches it, which increases performance slightly, but position changes in the bone pose made before processing this IKModifier3D are ignored.
方法说明
void clear_settings() 🔗
清空所有设置。
int get_setting_count() const 🔗
Returns the number of settings.
void reset() 🔗
Resets a state with respect to the current bone pose.
void set_setting_count(count: int) 🔗
Sets the number of settings.