Difference between revisions of "Character Gravity (LogiX node)"
Jump to navigation
Jump to search
(Mark stub) |
(Update page with actually useful information) |
||
Line 1: | Line 1: | ||
<languages></languages> | <languages></languages> | ||
<translate> | <translate> | ||
− | {{ | + | <!--T:1--> |
− | + | {{Infobox Logix Node | |
+ | | Name = Character Gravity | ||
+ | | Image =[[File: CharacterGravityNode.png | noframe | 128px | 'Character Gravity' LogiX node ]] | ||
+ | | Input0Type = CharacterController | Input0Name = Character | ||
+ | | Output0Type = Float3 | Output0Name = Gravity | ||
+ | | Output1Type = Float3 | Output1Name = ActualGravity | ||
+ | }} | ||
− | <!-- | + | <!--T:2--> |
+ | The '''Character Gravity''' node outputs the <code>Gravity</code> vector for the input <code>CharacterController</code>. | ||
− | == | + | == Usage == <!--T:3--> |
− | + | The <code>Gravity</code> output provides the current Gravity value. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | The <code>ActualGravity</code> output provides the Gravity value from the previous update. | |
− | |||
− | == Node Menu == | + | Default values are [0;0;0] for both outputs if there is no valid input <code>CharacterController</code>. |
+ | |||
+ | |||
+ | == Examples == <!--T:4--> | ||
+ | |||
+ | == Node Menu == <!--T:5--> | ||
</translate> | </translate> | ||
− | + | [[Category:LogiX{{#translation:}}|Character Gravity]] | |
− | [[Category:LogiX|Character Gravity]] | + | [[Category:LogiX:Physics{{#translation:}}|Character Gravity]] |
− | [[Category:LogiX: Physics|Character Gravity]] | + | {{:NodeMenu-Physics{{#translation:}}}} |
− | {{:NodeMenu-Physics}} |
Revision as of 20:50, 1 May 2021
Character Gravity | ||
---|---|---|
Inputs | ||
CharacterController | Character | |
Outputs | ||
Float3 | Gravity | |
Float3 | ActualGravity |
The Character Gravity node outputs the Gravity
vector for the input CharacterController
.
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
.