On Grip Stay

From Neos Wiki
Jump to navigation Jump to search
Other languages:
On Grip Stay
'On Grip Stay' LogiX node
Inputs
  LocomotionGrip Grip
Outputs
  Impulse OnEvent
  ILocomotionModule Module
  BodyNode GrippingBodyNode

The On Grip Stay node fires an impulse every frame while a user grips the input Grip.

Usage

The Grip input takes a reference to a LocomotionGrip component.


The OnEvent output fires impulses while the Grip is gripped by a user. Impulses are owned by the user gripping the Grip component.


The Module output provides the locomotion module in use by the user gripping the Grip component. This value is only available for the duration of the impulse chain started by OnEvent.


The GrippingBodyNode output provides a BodyNode enum value indicating which body node the Grip is gripped by. This will most likely be the Right Hand or Left Hand.


Examples

Node Menu

Locomotion
Back Get Active Locomotion Module Install Locomotion Modules On Grip End On Grip Start On Grip Stay On Locomotion Grip Begin
On Locomotion Grip End Switch Locomotion Module