Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
IKModifier3D
继承: SkeletonModifier3D < Node3D < Node < Object
派生: ChainIK3D, TwoBoneIK3D
用于反向动力学的节点,可以修改多个骨骼。
描述
这是 SkeletonModifier3D 的基类,包含一些关节列表并应用反向动力学。该类包含一些结构体、枚举和辅助方法,这些对于解决反向动力学问题非常有用。
教程
属性
|
方法
void |
|
get_setting_count() const |
|
void |
reset() |
void |
set_setting_count(count: int) |
属性说明
bool mutable_bone_axes = true 🔗
如果为 true,求解器会在每一帧从骨骼姿势中检索骨骼轴。
如果为 false,求解器会从骨骼静止状态中检索骨骼轴并进行缓存,这会略微提高性能,但在处理该 IKModifier3D 之前对骨骼姿势进行的任何位置更改都将被忽略。
方法说明
void clear_settings() 🔗
清空所有设置。
int get_setting_count() const 🔗
返回设置项的数量。
void reset() 🔗
根据当前的骨骼姿势重置状态。
void set_setting_count(count: int) 🔗
设置设置项的数量。