Difference between revisions of "Set Character Velocity (LogiX node)"
Jump to navigation
Jump to search
(Created page with "<languages></languages> <translate> The '''Set Character Velocity''' node. <!--[[File:|border|256px|right]]--> == Inputs & Outputs == {| class="wikitable" |+Inputs |- | Colo...") |
|||
(5 intermediate revisions by 2 users not shown) | |||
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]. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | <!--T:6--> | |
+ | 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. | ||
− | |||
− | == Node Menu == | + | <!--T:7--> |
+ | Note that for the input <code>CharacterController</code> to be affected, the impulse received at <code>Apply</code> must be owned by the <code>SimulatingUser</code> set in the referenced CharacterController component. For an explanation, see [https://github.com/Neos-Metaverse/NeosPublic/issues/3197#issuecomment-944923044 Frooxius' comment on GitHub] | ||
+ | |||
+ | == Examples == <!--T:4--> | ||
+ | |||
+ | == 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}} | {{: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