Summary
Adds a spring at the end of the arrays.
- Assembly
- FlexiMotion
.dll - Namespace
- FlexiMotion
- Containing Type
- SpringDefinitions
Syntax
public void Add(Transform transform, SpringDetails details, float radius)
Remarks
This method is very inefficient if called multiple times so consider using a
FlexiMotion.SpringDefinitionsBuilder
instead of using this at runtime.
Parameters
Name | Type | Description |
---|---|---|
transform | Transform | |
details | SpringDetails | |
radius | float |
Return Value
Type | Description |
---|---|
void |