IKModifier3D
Inherits: SkeletonModifier3D < Spatial3D < Actor < Object
Inherited by: ChainIK3D, TwoBoneIK3D
An actor for inverse kinematics which may modify more than one bone.
Description
Section titled “Description”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.
Properties
Section titled “Properties”| Type | Name | Default |
|---|---|---|
| bool | mutable_bone_axes | true |
Methods
Section titled “Methods”| Returns | Method |
|---|---|
| void | clear_settings() |
| int | get_setting_count() |
| void | reset() |
| void | set_setting_count(count) |
Property descriptions
Section titled “Property descriptions”mutable_bone_axes
Section titled “mutable_bone_axes”bool mutable_bone_axes = true
Setter/getter: set_mutable_bone_axes(), are_bone_axes_mutable()
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.
Method descriptions
Section titled “Method descriptions”clear_settings
Section titled “clear_settings”void clear_settings()
Clears all settings.
get_setting_count
Section titled “get_setting_count”int get_setting_count() const
Returns the number of settings.
void reset()
Resets a state with respect to the current bone pose.
set_setting_count
Section titled “set_setting_count”void set_setting_count(count: int)
Sets the number of settings.