reckfellENGINE

LimitAngularVelocityModifier3D

Limit bone rotation angular velocity.

On this page
class LimitAngularVelocityModifier3DReckfellSharpInherits SkeletonModifier3D

Limit bone rotation angular velocity.

This modifier limits bone rotation angular velocity by comparing poses between previous and current frame. You can add bone chains by specifying their root and end bones, then add the bones between them to a list. Modifier processes either that list or the bones excluding those in the list depending on the option LimitAngularVelocityModifier3D.Exclude. Note: Most 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

LimitAngularVelocityModifier3DConstructor
# LimitAngularVelocityModifier3D
C#
public LimitAngularVelocityModifier3D();

Properties4

ChainCountProperty
# ChainCount
C#
public int ChainCount { get; set; }

The number of chains.

ExcludeProperty
# Exclude
C#
public bool Exclude { get; set; }

If true, the modifier processes bones not included in the bone list. If false, the bones processed by the modifier are equal to the bone list.

JointCountProperty
# JointCount
C#
public int JointCount { get; }

The number of joints in the list which created by chains dynamically.

MaxAngularVelocityProperty
# MaxAngularVelocity
C#
public double MaxAngularVelocity { get; set; }

The maximum angular velocity per second.

Methods16

ClearChainsvoid
# ClearChains
C#
public void ClearChains();

Clear all chains.

GetChainCountint
# GetChainCount
C#
public int GetChainCount();
Returns int
GetEndBoneint
# GetEndBone
C#
public int GetEndBone(int index);

Returns the end bone index of the bone chain.

Parameters
NameTypeDefault
indexint—
Returns int
GetEndBoneNamestring
# GetEndBoneName
C#
public string GetEndBoneName(int index);

Returns the end bone name of the bone chain.

Parameters
NameTypeDefault
indexint—
Returns string
GetMaxAngularVelocitydouble
# GetMaxAngularVelocity
C#
public double GetMaxAngularVelocity();
Returns double
GetRootBoneint
# GetRootBone
C#
public int GetRootBone(int index);

Returns the root bone index of the bone chain.

Parameters
NameTypeDefault
indexint—
Returns int
GetRootBoneNamestring
# GetRootBoneName
C#
public string GetRootBoneName(int index);

Returns the root bone name of the bone chain.

Parameters
NameTypeDefault
indexint—
Returns string
IsExcludebool
# IsExclude
C#
public bool IsExclude();
Returns bool
Resetvoid
# Reset
C#
public void Reset();

Sets the reference pose for angle comparison to the current pose with the influence of constraints removed. This function is automatically triggered when joints change or upon activation.

SetChainCountvoid
# SetChainCount
C#
public void SetChainCount(int count);
Parameters
NameTypeDefault
countint—
SetEndBonevoid
# SetEndBone
C#
public void SetEndBone(int index, int bone);

Sets the end bone index of the bone chain.

Parameters
NameTypeDefault
indexint—
boneint—
SetEndBoneNamevoid
# SetEndBoneName
C#
public void SetEndBoneName(int index, string boneName);

Sets the end bone name of the bone chain. Note: End bone must be the root bone or a child of the root bone.

Parameters
NameTypeDefault
indexint—
boneNamestring—
SetExcludevoid
# SetExclude
C#
public void SetExclude(bool exclude);
Parameters
NameTypeDefault
excludebool—
SetMaxAngularVelocityvoid
# SetMaxAngularVelocity
C#
public void SetMaxAngularVelocity(double angularVelocity);
Parameters
NameTypeDefault
angularVelocitydouble—
SetRootBonevoid
# SetRootBone
C#
public void SetRootBone(int index, int bone);

Sets the root bone index of the bone chain.

Parameters
NameTypeDefault
indexint—
boneint—
SetRootBoneNamevoid
# SetRootBoneName
C#
public void SetRootBoneName(int index, string boneName);

Sets the root bone name of the bone chain.

Parameters
NameTypeDefault
indexint—
boneNamestring—
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.