Difference between revisions of "Apply Character Force (LogiX node)"
m |
|||
Line 12: | Line 12: | ||
<!--T:2--> | <!--T:2--> | ||
− | The '''Apply Character Force''' node changes the linear velocity of the input <code> | + | The '''Apply Character Force''' node changes the linear velocity of the input <code>Character</code> [[CharacterController (Component)]] proportional to the input <code>Force</code> when an impulse is received at <code>Apply</code>. |
== Usage == <!--T:3--> | == Usage == <!--T:3--> |
Revision as of 09:41, 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 Character
CharacterController (Component) 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.