Difference between revisions of "Character Gravity (LogiX node)"
Jump to navigation
Jump to search
(Mark stub) |
|||
(4 intermediate revisions by 2 users not shown) | |||
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>Character</code> [[CharacterController (Component)]]. | ||
− | == | + | == Usage == <!--T:3--> |
− | + | The <code>Gravity</code> output provides the current Gravity value. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | <!--T:6--> | |
+ | 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}} | {{: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
.