Merge pull request #90780 from lyuma/skeletonik3d_compat

Add SkeletonIK3D `get`/`set_interpolation` compat from #87888
This commit is contained in:
Rémi Verschelde 2024-04-18 12:24:44 +02:00
commit be9b298317
No known key found for this signature in database
GPG key ID: C3336907360768E1
4 changed files with 24 additions and 3 deletions

View file

@ -55,6 +55,9 @@
</method>
</methods>
<members>
<member name="interpolation" type="float" setter="set_interpolation" getter="get_interpolation" deprecated="Use [member SkeletonModifier3D.influence] instead.">
Interpolation value for how much the IK results are applied to the current skeleton bone chain. A value of [code]1.0[/code] will overwrite all skeleton bone transforms completely while a value of [code]0.0[/code] will visually disable the SkeletonIK.
</member>
<member name="magnet" type="Vector3" setter="set_magnet_position" getter="get_magnet_position" default="Vector3(0, 0, 0)">
Secondary target position (first is [member target] property or [member target_node]) for the IK chain. Use magnet position (pole target) to control the bending of the IK chain. Only works if the bone chain has more than 2 bones. The middle chain bone position will be linearly interpolated with the magnet position.
</member>