Component:IKDraggableOffset: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
add info
 
Line 3: Line 3:
|Name=IKDraggable Offset
|Name=IKDraggable Offset
}}
}}
{{stub}}
The '''IKDraggableOffset''' component is generated as part of newly imported humanoid avatars. It allows users to grab (meaning it's an [[Type:IGrabbable|IGrabbable]]) and move parts of a model to test how it moves before making it an avatar.


== Usage ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Solver|IKSolver|
|Solver|IKSolver| The IK solver that this is currently controlling. See IKSolver for what this could be.
|PositionTarget|'''[[Type:Sync`1|Sync`1]]<[[Type:Float3|Float3]]>'''|TypeAdv1=true|
|PositionTarget|'''[[Type:Sync`1|Sync`1]]<[[Type:Float3|Float3]]>'''|TypeAdv1=true| The position field to influence when grabbing.
|RotationTarget|'''[[Type:Sync`1|Sync`1]]<[[Type:FloatQ|FloatQ]]>'''|TypeAdv2=true|
|RotationTarget|'''[[Type:Sync`1|Sync`1]]<[[Type:FloatQ|FloatQ]]>'''|TypeAdv2=true| The rotation field to influence when grabbing.
|Weight|'''[[Type:Sync`1|Sync`1]]<[[Type:Float|Float]]>'''|TypeAdv3=true|
|Weight|'''[[Type:Sync`1|Sync`1]]<[[Type:Float|Float]]>'''|TypeAdv3=true| The weight field to influence when grabbing.
|_grabber|'''[[Component:Grabber|Grabber]]'''|TypeAdv4=true|
|_grabber|'''[[Component:Grabber|Grabber]]'''|TypeAdv4=true| The grabber component currently grabbing this.
|_grabbingUser|User|
|_grabbingUser|User| The user currently grabbing this.
|_holdSlot|Slot|
|_holdSlot|Slot| The slot currently holding this component's slot for grabbing.
|_posOffset|Float3|
|_posOffset|Float3| The position offset this component is applying to <code>Solver</code>.
|_rotOffset|FloatQ|
|_rotOffset|FloatQ| The rotation offset this component is applying to <code>Solver</code>.
}}
}}


== Behavior ==
== Usage ==
This should not be used by the player, and is generated with newly imported humanoid avatars.


== Examples ==
== Examples ==
{{stub}}


== See Also ==
== See Also ==
* [[Component:VRIK]]


[[Category:Components:Uncategorized{{#translation:}}|IKDraggable Offset]]
[[Category:Components:Uncategorized{{#translation:}}|IKDraggable Offset]]
[[Category:Components{{#translation:}}|IKDraggable Offset]]
[[Category:Components{{#translation:}}|IKDraggable Offset]]
[[Category:ComponentStubs]]

Latest revision as of 18:15, 13 November 2024

Component image 
IKDraggable Offset component as seen in the Scene Inspector

The IKDraggableOffset component is generated as part of newly imported humanoid avatars. It allows users to grab (meaning it's an IGrabbable) and move parts of a model to test how it moves before making it an avatar.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled.
Solver IKSolver The IK solver that this is currently controlling. See IKSolver for what this could be.
PositionTarget Sync`1<Float3> The position field to influence when grabbing.
RotationTarget Sync`1<FloatQ> The rotation field to influence when grabbing.
Weight Sync`1<Float> The weight field to influence when grabbing.
_grabber Grabber The grabber component currently grabbing this.
_grabbingUser User The user currently grabbing this.
_holdSlot Slot The slot currently holding this component's slot for grabbing.
_posOffset Float3 The position offset this component is applying to Solver.
_rotOffset FloatQ The rotation offset this component is applying to Solver.

Usage

This should not be used by the player, and is generated with newly imported humanoid avatars.

Examples

This article or section is a Stub. You can help the Resonite Wiki by expanding it.


See Also