Created a page for Trajectory Position |
Cleaned up page. |
||
Line 1: | Line 1: | ||
{{#Invoke:ProtoFlux|GenerateUI | {{#Invoke:ProtoFlux|GenerateUI | ||
|Name=Trajectory Position | |Name=Trajectory Position | ||
|Category= | |Category=Physics | ||
|Inputs= | |Inputs= | ||
[ | [ | ||
Line 15: | Line 15: | ||
}} | }} | ||
The '''Trajectory Position''' node takes an initial velocity, force of gravity, drag, and time period, and then outputs the change in position of an object that it would experience. This is very useful for simulating movement. | |||
The Trajectory Position node | |||
== Inputs == | == Inputs == | ||
=== Initial Velocity === | === Initial Velocity ([[Type:float3|float3]]) === | ||
The initial velocity (speed and direction) | The initial velocity (speed and direction). | ||
=== Gravity === | === Gravity ([[Type:float3|float3]]) === | ||
The direction and strength of gravity. | The direction and strength of gravity. | ||
=== Drag === | === Drag ([[Type:float|float]]) === | ||
The resistance in movement. | The resistance in movement. | ||
=== Time === | === Time ([[Type:float|float]]) === | ||
The change in time between initial and final position | The change in time between initial and final position. | ||
== Outputs == | == Outputs == | ||
=== * === | === * ([[Type:float3|float3]]) === | ||
The change in position that would have happened in the time frame. | The change in position that would have happened in the time frame. | ||
Line 45: | Line 43: | ||
== Examples == | == Examples == | ||
No examples have been given at this time. | No examples have been given at this time. Examples of potential uses include: | ||
Examples of potential uses include: | * Instantly calculating the end position of a projectile | ||
Instantly calculating the end position of a projectile | * Simulating the movement of a ball | ||
Simulating the movement of a ball | |||
[[Category:ProtoFlux:Math:Physics]] | [[Category:ProtoFlux:Math:Physics]] |
Revision as of 22:10, 1 July 2024
Trajectory Position
Physics
The Trajectory Position node takes an initial velocity, force of gravity, drag, and time period, and then outputs the change in position of an object that it would experience. This is very useful for simulating movement.
Inputs
Initial Velocity (float3)
The initial velocity (speed and direction).
Gravity (float3)
The direction and strength of gravity.
Drag (float)
The resistance in movement.
Time (float)
The change in time between initial and final position.
Outputs
* (float3)
The change in position that would have happened in the time frame.
Examples
No examples have been given at this time. Examples of potential uses include:
- Instantly calculating the end position of a projectile
- Simulating the movement of a ball