ProtoFlux:Set User Scale: Difference between revisions

From Resonite Wiki
Created a page for the Set User Scale node.
 
Added an information note.
 
Line 17: Line 17:


The <code>Set User Scale</code> node changes the user scale with the provided inputs. While the user is scaling and the user is in the middle of a scale animation, the user cannot be scaled again until the animation has finished.
The <code>Set User Scale</code> node changes the user scale with the provided inputs. While the user is scaling and the user is in the middle of a scale animation, the user cannot be scaled again until the animation has finished.
{{Note|There is a set of features in [[Resonite]] that allows you to [[User Scale|scale and calculate scale]] in different ways.|information}}


== Inputs ==
== Inputs ==

Latest revision as of 01:33, 4 July 2024

Set User Scale
*
OnScaleChangeStart
UserRoot
OnAnimationFinished
Scale
AnimationTime
Users

The Set User Scale node changes the user scale with the provided inputs. While the user is scaling and the user is in the middle of a scale animation, the user cannot be scaled again until the animation has finished.

There is a set of features in Resonite that allows you to scale and calculate scale in different ways.

Inputs

* (AsyncCall)

Calls from an impulse to start changing the user's scale.

UserRoot (UserRoot)

The user root to scale.

Scale (float)

The target scale to aim for.

AnimationTime (float)

How long this scaling should take.

Outputs

OnScaleChangeStart (AsyncCall)

Fires when the scaling has started.

OnAnimationFinished (Continuation)

Fires when the scaling animation has finished scaling the user.