Difference between revisions of "Set Character Velocity (LogiX node)"

From Neos Wiki
Jump to navigation Jump to search
(Mark stub)
(Update page with actually useful information)
Line 1: Line 1:
 
<languages></languages>
 
<languages></languages>
 
<translate>
 
<translate>
{{stub}}
+
<!--T:1-->
The '''Set Character Velocity''' node.
+
{{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
 +
}}
  
<!--[[File:|border|256px|right]]-->
+
<!--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>.
  
== Inputs & Outputs ==
+
== Usage == <!--T:3-->
{| class="wikitable"
+
The <code>Velocity</code> default is [0;0;0].
|+Inputs
 
|-
 
| Color
 
| Label
 
| Type
 
|-
 
| style="background-color:{{Impulse-color}}" |
 
| Apply
 
| Impulse
 
|-
 
| style="background-color:{{Float-color}}" |
 
| Gravity
 
| Float3
 
|-
 
| style="background-color:{{CharacterController-color}}" |
 
| Character
 
| CharacterController
 
|}
 
  
{| class="wikitable"
 
|+Outputs
 
|-
 
| Color
 
| Label
 
| Type
 
|-
 
| style="background-color:{{Impulse-color}}" |
 
| OnDone
 
| Impulse
 
|}
 
  
== Usage ==
+
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.
  
== Examples ==
+
== Examples == <!--T:4-->
  
== Node Menu ==
+
== 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{{#translation:}}}}
{{:NodeMenu-Physics}}
 

Revision as of 09:36, 8 May 2021

Other languages:
English • ‎日本語
Set Character Velocity
'Set Character Velocity' LogiX node
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.

Examples

Node Menu

Physics
Back Apply Character Force Apply Character Impulse As Character Controller Character Controller User Character Gravity Character Ground Collider
Character Linear Velocity Find Character Controller Hit UV Coordinate Is Character Controller Is Character On Ground On Collision End On Collision Start
On Collision Stay Raycast One Raycaster Set Character Gravity Set Character Velocity