Difference between revisions of "Set 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 = Set Character Gravity | ||
+ | | Image =[[File: SetCharacterGravityNode.png | noframe | 128px | 'Set Character Gravity' LogiX node ]] | ||
+ | | Input0Type = Impulse | Input0Name = Apply | ||
+ | | Input1Type = Float3 | Input1Name = Gravity | ||
+ | | Input2Type = CharacterController | Input2Name = Character | ||
+ | | Output0Type = Impulse | Output0Name = OnDone | ||
+ | }} | ||
− | <!--[[ | + | <!--T:2--> |
+ | The '''Set Character Gravity''' node overwrites the <code>Gravity</code> field value on the input <code>Character</code> [[CharacterController (Component)]] with the input <code>Gravity</code> vector. | ||
− | == | + | == Usage == <!--T:3--> |
− | + | The <code>Gravity</code> input defaults to [0;0;0] which corresponds to no gravity. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | The <code>OnDone</code> output fires an impulse when the <code>Gravity</code> field value of the input <code>Character</code> has been set as a result of an impulse received at <code>Apply</code>. No impulse will be fired if there is no valid <code>Character</code> input. | |
− | == Examples == | + | == Examples == <!--T:4--> |
− | == Node Menu == | + | == Node Menu == <!--T:5--> |
</translate> | </translate> | ||
− | + | [[Category:LogiX{{#translation:}}|Set Character Gravity]] | |
− | [[Category:LogiX|Set Character Gravity]] | + | [[Category:LogiX:Physics{{#translation:}}|Set Character Gravity]] |
− | [[Category:LogiX: Physics|Set Character Gravity]] | + | {{:NodeMenu-Physics{{#translation:}}}} |
− | {{:NodeMenu-Physics}} |
Revision as of 09:33, 8 May 2021
Set Character Gravity | ||
---|---|---|
Inputs | ||
Impulse | Apply | |
Float3 | Gravity | |
CharacterController | Character | |
Outputs | ||
Impulse | OnDone |
The Set Character Gravity node overwrites the Gravity
field value on the input Character
CharacterController (Component) with the input Gravity
vector.
Usage
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.