Type:RestoreMode: Difference between revisions

From Resonite Wiki
create page
 
add info
 
Line 8: Line 8:
|-
|-
|None
|None
|{{Stub}}
|Use no space when restoring the user's transforms, essentially dumping the user out of the seat right where they were sitting.
|0
|0
|-
|-
|RelativeTransform
|RelativeTransform
|{{Stub}}
|Use the seat's slot as the space when restoring the user's selected node transforms to what they were before they entered.
|1
|1
|-
|-
|GlobalTransform
|GlobalTransform
|{{Stub}}
|Use the world's root slot as the space when restoring the user's selected node transforms to what they were before they entered. So this just sets their global transforms when restoring.
|2
|2
|-
|-
|Reference
|Reference
|{{Stub}}
|Use <code>RestoreReference</code> as the space when restoring the user's selected node transforms to what they were before they entered.
|3
|3
|}
|}

Latest revision as of 23:55, 13 October 2024

Restore mode is used exclusively by Avatar Anchor when restoring a user's slot transforms when they are parented back where they came from.

Possible Values

Value Description Numeric Value
None Use no space when restoring the user's transforms, essentially dumping the user out of the seat right where they were sitting. 0
RelativeTransform Use the seat's slot as the space when restoring the user's selected node transforms to what they were before they entered. 1
GlobalTransform Use the world's root slot as the space when restoring the user's selected node transforms to what they were before they entered. So this just sets their global transforms when restoring. 2
Reference Use RestoreReference as the space when restoring the user's selected node transforms to what they were before they entered. 3