IKModifier3D
Inherits: SkeletonModifier3D < Entity3D < Entity < Object
Inherited by: ChainIK3D, TwoBoneIK3D
Description
Section titled “Description”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.
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() const |
| void | reset() |
| void | set_setting_count(count: int) |
Property descriptions
Section titled “Property descriptions”mutable_bone_axes
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.
Note: The rendered gizmo’s forward vector (a line between parent and child joints) will only respect the bone pose when this modifier is active.
Method descriptions
Section titled “Method descriptions”clear_settings
void clear_settings()
Clears all settings.
get_setting_count
int get_setting_count() const
Returns the number of settings.
reset
void reset()
Resets a state with respect to the current bone pose.
set_setting_count
void set_setting_count(count: int)
Sets the number of settings.
