Difference between revisions of "Apply Character Force (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 = Apply Character Force | ||
+ | | Image =[[File: ApplyCharacterForceNode.png | noframe | 128px | 'Apply Character Force' LogiX node ]] | ||
+ | | Input0Type = Impulse | Input0Name = Apply | ||
+ | | Input1Type = Float3 | Input1Name = Force | ||
+ | | Input2Type = CharacterController | Input2Name = Character | ||
+ | | Output0Type = Impulse | Output0Name = OnDone | ||
+ | }} | ||
− | <!-- | + | <!--T:2--> |
+ | The '''Apply Character Force''' node changes the linear velocity of the input <code>CharacterController</code> proportional to the input <code>Force</code> when an impulse is received at <code>Apply</code>. | ||
− | == | + | == Usage == <!--T:3--> |
− | + | The <code>OnDone</code> output fires an impulse when the velocity of the input <code>CharacterController</code> has been changed as a result of an impulse received at <code>Apply</code>. No impulse will be fired if there is no valid <code>CharacterController</code> input. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | The change in velocity of the <code>CharacterController</code> is the input <code>Force</code> multiplied by the update time for the <code>SimulatingUser</code> set in the referenced CharacterController. | |
− | + | 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. | |
− | == Node Menu == | + | == Examples == <!--T:4--> |
+ | |||
+ | == Node Menu == <!--T:5--> | ||
</translate> | </translate> | ||
− | + | [[Category:LogixStubs]] | |
− | [[Category:LogiX|Apply Character Force]] | + | [[Category:LogiX{{#translation:}}|Apply Character Force]] |
− | [[Category:LogiX: Physics|Apply Character Force]] | + | [[Category:LogiX:Physics{{#translation:}}|Apply Character Force]] |
− | {{:NodeMenu-Physics}} | + | {{:NodeMenu-Physics{{#translation:}}}} |
Revision as of 20:19, 1 May 2021
Apply Character Force | ||
---|---|---|
Inputs | ||
Impulse | Apply | |
Float3 | Force | |
CharacterController | Character | |
Outputs | ||
Impulse | OnDone |
The Apply Character Force node changes the linear velocity of the input CharacterController
proportional to the input Force
when an impulse is received at Apply
.
Usage
The OnDone
output fires an impulse when the velocity of the input CharacterController
has been changed as a result of an impulse received at Apply
. No impulse will be fired if there is no valid CharacterController
input.
The change in velocity of the CharacterController
is the input Force
multiplied by the update time for the SimulatingUser
set in the referenced CharacterController.
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.