RagdollComponent

Inherits from Component

Summary

Methods

Method Returns
GetLocalTransform(boneId: int) QuatTransform | nil
SetLocalTransform(boneId: int, transform: QuatTransform) void
GetWorldTransform(boneId: int) QuatTransform | nil
SetWorldTransform(boneId: int, transform: QuatTransform) void
GetRenderTransform(boneId: int) QuatTransform | nil
SetRenderTransform(boneId: int, transform: QuatTransform) void
GetInterpolatedLocalTransform(boneId: int) QuatTransform | nil
SetInterpolatedLocalTransform(boneId: int, transform: QuatTransform) void
GetInterpolatedWorldTransform(boneId: int) QuatTransform | nil
SetInterpolatedWorldTransform(boneId: int, transform: QuatTransform) void
GetActiveWorldTransform(boneId: int) QuatTransform | nil
SetActiveWorldTransform(boneId: int, transform: QuatTransform) void
GetActiveLocalTransform(boneId: int) QuatTransform | nil
SetActiveLocalTransform(boneId: int, transform: QuatTransform) void
GetBoneVelocity(boneId: int) QuatTransform | nil
SetBoneVelocity(boneId: int, transform: QuatTransform) void

Methods

GetLocalTransform

GetLocalTransform(boneId: int): QuatTransform | nil

Parameters

Name Type Description
boneId int

Returns

Type Description
QuatTransform | nil

SetLocalTransform

SetLocalTransform(boneId: int, transform: QuatTransform)

Parameters

Name Type Description
boneId int
transform QuatTransform

GetWorldTransform

GetWorldTransform(boneId: int): QuatTransform | nil

Parameters

Name Type Description
boneId int

Returns

Type Description
QuatTransform | nil

SetWorldTransform

SetWorldTransform(boneId: int, transform: QuatTransform)

Parameters

Name Type Description
boneId int
transform QuatTransform

GetRenderTransform

GetRenderTransform(boneId: int): QuatTransform | nil

Parameters

Name Type Description
boneId int

Returns

Type Description
QuatTransform | nil

SetRenderTransform

SetRenderTransform(boneId: int, transform: QuatTransform)

Parameters

Name Type Description
boneId int
transform QuatTransform

GetInterpolatedLocalTransform

GetInterpolatedLocalTransform(boneId: int): QuatTransform | nil

Parameters

Name Type Description
boneId int

Returns

Type Description
QuatTransform | nil

SetInterpolatedLocalTransform

SetInterpolatedLocalTransform(boneId: int, transform: QuatTransform)

Parameters

Name Type Description
boneId int
transform QuatTransform

GetInterpolatedWorldTransform

GetInterpolatedWorldTransform(boneId: int): QuatTransform | nil

Parameters

Name Type Description
boneId int

Returns

Type Description
QuatTransform | nil

SetInterpolatedWorldTransform

SetInterpolatedWorldTransform(boneId: int, transform: QuatTransform)

Parameters

Name Type Description
boneId int
transform QuatTransform

GetActiveWorldTransform

GetActiveWorldTransform(boneId: int): QuatTransform | nil

Parameters

Name Type Description
boneId int

Returns

Type Description
QuatTransform | nil

SetActiveWorldTransform

SetActiveWorldTransform(boneId: int, transform: QuatTransform)

Parameters

Name Type Description
boneId int
transform QuatTransform

GetActiveLocalTransform

GetActiveLocalTransform(boneId: int): QuatTransform | nil

Parameters

Name Type Description
boneId int

Returns

Type Description
QuatTransform | nil

SetActiveLocalTransform

SetActiveLocalTransform(boneId: int, transform: QuatTransform)

Parameters

Name Type Description
boneId int
transform QuatTransform

GetBoneVelocity

GetBoneVelocity(boneId: int): QuatTransform | nil

Parameters

Name Type Description
boneId int

Returns

Type Description
QuatTransform | nil

SetBoneVelocity

SetBoneVelocity(boneId: int, transform: QuatTransform)

Parameters

Name Type Description
boneId int
transform QuatTransform
Last modified September 10, 2022: Add inherit from Component (d9d3c637)