Difference between revisions of "Set Character Velocity (LogiX node)"
Jump to navigation
Jump to search
(Marked this version for translation) |
|||
Line 31: | Line 31: | ||
[[Category:LogiX{{#translation:}}|Set Character Velocity]] | [[Category:LogiX{{#translation:}}|Set Character Velocity]] | ||
[[Category:LogiX:Physics{{#translation:}}|Set Character Velocity]] | [[Category:LogiX:Physics{{#translation:}}|Set Character Velocity]] | ||
− | {{:NodeMenu-Physics | + | {{:NodeMenu-Physics}} |
Latest revision as of 03:54, 20 February 2022
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.
Note that for the input CharacterController
to be affected, the impulse received at Apply
must be owned by the SimulatingUser
set in the referenced CharacterController component. For an explanation, see Frooxius' comment on GitHub