Difference between revisions of "Apply Character Force (LogiX node)"
Jump to navigation
Jump to search
(Remove the LogixStubs category) |
m |
||
Line 20: | Line 20: | ||
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. | 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. | + | 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. |
== Examples == <!--T:4--> | == Examples == <!--T:4--> |
Revision as of 09:38, 8 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.