Difference between revisions of "Character Gravity (LogiX node)"
Jump to navigation
Jump to search
(Update page with actually useful information) |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 11: | Line 11: | ||
<!--T:2--> | <!--T:2--> | ||
− | The '''Character Gravity''' node outputs the <code>Gravity</code> vector for the input <code> | + | The '''Character Gravity''' node outputs the <code>Gravity</code> vector for the input <code>Character</code> [[CharacterController (Component)]]. |
== Usage == <!--T:3--> | == Usage == <!--T:3--> | ||
Line 17: | Line 17: | ||
+ | <!--T:6--> | ||
The <code>ActualGravity</code> output provides the Gravity value from the previous update. | The <code>ActualGravity</code> output provides the Gravity value from the previous update. | ||
Default values are [0;0;0] for both outputs if there is no valid input <code>CharacterController</code>. | Default values are [0;0;0] for both outputs if there is no valid input <code>CharacterController</code>. | ||
− | |||
− | |||
== Examples == <!--T:4--> | == Examples == <!--T:4--> | ||
Line 29: | Line 28: | ||
[[Category:LogiX{{#translation:}}|Character Gravity]] | [[Category:LogiX{{#translation:}}|Character Gravity]] | ||
[[Category:LogiX:Physics{{#translation:}}|Character Gravity]] | [[Category:LogiX:Physics{{#translation:}}|Character Gravity]] | ||
− | {{:NodeMenu-Physics | + | {{:NodeMenu-Physics}} |
Latest revision as of 03:47, 20 February 2022
Character Gravity | ||
---|---|---|
Inputs | ||
CharacterController | Character | |
Outputs | ||
Float3 | Gravity | |
Float3 | ActualGravity |
The Character Gravity node outputs the Gravity
vector for the input Character
CharacterController (Component).
Usage
The Gravity
output provides the current Gravity value.
The ActualGravity
output provides the Gravity value from the previous update.
Default values are [0;0;0] for both outputs if there is no valid input CharacterController
.