Navigation
BlueprintAPI > BlueprintAPI/Utilities > BlueprintAPI/Utilities/Struct
Adds a node that create a 'Spring Interpolate' from its members
Inputs
| Type | Name | Description |
|---|---|---|
| vector | Target | Rest/target position of the spring. |
| real | Strength | The spring strength determines how hard it will pull towards the target. The value is the frequencyat which it will oscillate when there is no damping. |
| real | Critical Damping | The amount of damping in the spring.Set it smaller than 1 to make the spring oscillate before stabilizing on the target.Set it equal to 1 to reach the target without overshooting.Set it higher than one to make the spring take longer to reach the target. |
| vector | Force | Extra force to apply (since the mass is 1, this is also the acceleration). |
| boolean | Use Current Input | If true, then the Current input will be used to initialize the state, and is required to be a variable thatholds the current state. If false then the Target value will be used to initialize the state and the Currentinput will be ignored/unnecessary as a state will be maintained by this node. |
| vector | Current | Current position of the spring. |
| real | Target Velocity Amount | The amount that the velocity should be passed through to the spring. A value of 1 will result in moreresponsive output, but if the input is noisy or has step changes, these discontinuities will be passedthrough to the output much more than if a smaller value such as 0 is used. |
| boolean | Initialize From Target | If true, then the initial value will be taken from the target value, and not from the current value. |
Outputs
| Type | Name | Description |
|---|---|---|
| struct | Rig Unit Spring Interp Vector V2 |