|
| FloatType | GetPosition () const |
| | Gets the current position of the spring 更多...
|
| |
| FloatType | GetTarget () const |
| | Gets the target position 更多...
|
| |
| bool | IsAtRest () |
| |
| void | SetConfig (const FSpringConfig &InConfig) |
| | Sets the config for this spring 更多...
|
| |
| void | SetPosition (FloatType InPosition) |
| | Sets the current position (and target position) for the spring 更多...
|
| |
| void | SetTarget (FloatType InTarget) |
| | Sets the target position for the spring 更多...
|
| |
| void | Tick (float InQuantum) |
| | Updates the simulation. 更多...
|
| |
|
| TSpring1D () |
| | Constructor
|
| |
|
| TSpring1D (FloatType InPosition) |
| | Construct at specified position
|
| |
template<typename FloatType>
class TSpring1D< FloatType >
One-dimensional spring simulation