Set Character Gravity (LogiX node)

From Neos Wiki
Revision as of 02:54, 20 February 2022 by Aesc (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Other languages:
English • ‎日本語
Set Character Gravity
'Set Character Gravity' LogiX node
  Impulse Apply
  Float3 Gravity
  CharacterController Character
  Impulse OnDone

The Set Character Gravity node overwrites the Gravity field value on the input Character CharacterController (Component) with the input Gravity vector.


The Gravity input defaults to [0;0;0] which corresponds to no gravity.

The OnDone output fires an impulse when the Gravity field value of the input Character has been set as a result of an impulse received at Apply. No impulse will be fired if there is no valid Character input.

Note that for the input CharacterController to be affected, the impulse received at Apply must be owned by the SimulatingUser set in the referenced CharacterController component.


Node Menu

Back Apply Character Force Apply Character Impulse As Character Controller Character Controller User Character Gravity Character Ground Collider
Character Linear Velocity Find Character Controller Hit UV Coordinate Is Character Controller Is Character On Ground On Collision End On Collision Start
On Collision Stay Raycast One Raycaster Set Character Gravity Set Character Velocity