Difference between revisions of "Set Character Velocity (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 Velocity | ||
+ | | Image =[[File: SetCharacterVelocityNode.png | noframe | 128px | 'Set Character Velocity' LogiX node ]] | ||
+ | | Input0Type = Impulse | Input0Name = Apply | ||
+ | | Input1Type = Float3 | Input1Name = Velocity | ||
+ | | Input2Type = CharacterController | Input2Name = Character | ||
+ | | Output0Type = Impulse | Output0Name = OnDone | ||
+ | }} | ||
− | <!--[[ | + | <!--T:2--> |
+ | The '''Set Character Velocity''' node overwrites the linear velocity of the input <code>Character</code> [[CharacterController (Component)]] with the input <code>Velocity</code> when an impulse is received at <code>Apply</code>. | ||
− | == | + | == Usage == <!--T:3--> |
− | + | The <code>Velocity</code> default is [0;0;0]. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | The <code>OnDone</code> output fires an impulse when the linear velocity 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 Velocity]] | |
− | [[Category:LogiX|Set Character Velocity]] | + | [[Category:LogiX:Physics{{#translation:}}|Set Character Velocity]] |
− | [[Category:LogiX: Physics|Set Character Velocity]] | + | {{:NodeMenu-Physics{{#translation:}}}} |
− | {{:NodeMenu-Physics}} |
Revision as of 09:36, 8 May 2021
Set Character Velocity | ||
---|---|---|
Inputs | ||
Impulse | Apply | |
Float3 | Velocity | |
CharacterController | Character | |
Outputs | ||
Impulse | OnDone |
The Set Character Velocity node overwrites the linear velocity of the input Character
CharacterController (Component) with the input Velocity
when an impulse is received at Apply
.
Usage
The Velocity
default is [0;0;0].
The OnDone
output fires an impulse when the linear velocity 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.