reckfellENGINE

SplineIK3D

A SkeletonModifier3D for aligning bones along a Path3D.

On this page
class SplineIK3DReckfellSharpInherits ChainIK3D

A SkeletonModifier3D for aligning bones along a Path3D.

A SkeletonModifier3D for aligning bones along a Path3D. The smoothness of the fitting depends on the Curve3D.BakeInterval. If you want the Path3D to attach to a specific bone, it is recommended to place a ModifierBoneTarget3D before the SplineIK3D in the SkeletonModifier3D list (children of the Skeleton3D), and then place a Path3D as the ModifierBoneTarget3D's child. Bone twist is determined based on the Curve3D.GetPointTilt. If the root bone joint and the start point of the Curve3D are separated, it assumes that there is a linear line segment between them. This means that the vector pointing toward the start point of the Curve3D takes precedence over the shortest intersection point along the Curve3D. If the end bone joint exceeds the path length, it is bent as close as possible to the end point of the Curve3D. Note: All the methods in this class take an index parameter. This parameter specifies which setting list entry to return if the IK has multiple entries (e.g. settings/<index>/root_bone_name).

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Constructors1

SplineIK3DConstructor
# SplineIK3D
C#
public SplineIK3D();

Properties1

SettingCountProperty
# SettingCount
C#
public int SettingCount { get; set; }

The number of settings.

Methods8

GetPath3DEntityPath
# GetPath3D
C#
public EntityPath GetPath3D(int index);

Returns the node path of the Path3D which is describing the path.

Parameters
NameTypeDefault
indexint—
Returns EntityPath
GetTiltFadeInint
# GetTiltFadeIn
C#
public int GetTiltFadeIn(int index);

Returns the tilt interpolation method used between the root bone and the start point of the Curve3D when they are apart. See also SplineIK3D.SetTiltFadeIn.

Parameters
NameTypeDefault
indexint—
Returns int
GetTiltFadeOutint
# GetTiltFadeOut
C#
public int GetTiltFadeOut(int index);

Returns the tilt interpolation method used between the end bone and the end point of the Curve3D when they are apart. See also SplineIK3D.SetTiltFadeOut.

Parameters
NameTypeDefault
indexint—
Returns int
IsTiltEnabledbool
# IsTiltEnabled
C#
public bool IsTiltEnabled(int index);

Returns if the tilt property of the Curve3D affects the bone twist.

Parameters
NameTypeDefault
indexint—
Returns bool
SetPath3Dvoid
# SetPath3D
C#
public void SetPath3D(int index, EntityPath path3D);

Sets the node path of the Path3D which is describing the path.

Parameters
NameTypeDefault
indexint—
path3DEntityPath—
SetTiltEnabledvoid
# SetTiltEnabled
C#
public void SetTiltEnabled(int index, bool enabled);

Sets if the tilt property of the Curve3D should affect the bone twist.

Parameters
NameTypeDefault
indexint—
enabledbool—
SetTiltFadeInvoid
# SetTiltFadeIn
C#
public void SetTiltFadeIn(int index, int size);

If size is greater than 0, the tilt is interpolated between size start bones from the start point of the Curve3D when they are apart. If size is equal 0, the tilts between the root bone head and the start point of the Curve3D are unified with a tilt of the start point of the Curve3D. If size is less than 0, the tilts between the root bone and the start point of the Curve3D are 0.0.

Parameters
NameTypeDefault
indexint—
sizeint—
SetTiltFadeOutvoid
# SetTiltFadeOut
C#
public void SetTiltFadeOut(int index, int size);

If size is greater than 0, the tilt is interpolated between size end bones from the end point of the Curve3D when they are apart. If size is equal 0, the tilts between the end bone tail and the end point of the Curve3D are unified with a tilt of the end point of the Curve3D. If size is less than 0, the tilts between the end bone and the end point of the Curve3D are 0.0.

Parameters
NameTypeDefault
indexint—
sizeint—
Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.