Set User Scale (LogiX node)

From Neos Wiki
Jump to navigation Jump to search
Other languages:
English
Set User Scale
'Set User Scale' LogiX node
Inputs
  Impulse Set
  UserRoot UserRoot
  Float Scale
  Float AnimationTime
Outputs
  Impulse OnSet
  Impulse OnAnimationFinished

The Set User Scale node sets the scale of the specified UserRoot to the provided top float value upon receiving an impulse with an optional animation time.

Usage

The Scale input sets the all three scale values on UserRoot to the specified value. It only accepts one float, and cannot scale individual axis.

The OnSet output fires an impulse when the input UserRoot has been successfully scaled as a result of an impulse received at Set (even if the user was already the same scale). An impulse will not be fired if there is no valid UserRoot input.

An optional AnimationTime input is available, which when set will scale the user for the specified duration of time, linearly interpolated. Upon completing the scale, an OnAnimationFinished impulse will fire, even if this value is 0 or unset.

Examples

The following is a video showcasing various values for Scale and AnimationTime

Node Menu

Users / User Root
Back Controller Slot Feet Position Feet Rotation Hand Slot Head Facing Direction Head Facing Rotation
Head Position Head Rotation Head Slot Hips Position Hips Rotation Left Hand Position Left Hand Rotation
Right Hand Position Right Hand Rotation Set Feet Position Set Feet Rotation Set Head Facing Direction Set Head Facing Rotation Set Head Position
Set Head Rotation Set Hips Position Set Hips Rotation Set User Scale User Root Global Scale