Spring configuration 更多...
#include <SlateSprings.h>
Public 成员函数 | |
| FSpringConfig () | |
| Constructor | |
Public 属性 | |
| bool | bSkipAnimationOnHitches |
| Whether to skip animation when a hitch occurs. 更多... | |
| FloatType | DampConstant |
| Damp constant | |
| FloatType | SnappingEpsilon |
| Epsilon for snapping position and velocity | |
| FloatType | SpringConstant |
| Spring constant (how springy, lower values = more springy!) | |
| FloatType | SpringLength |
| Length of the spring | |
Spring configuration
| bool TSpring1D< FloatType >::FSpringConfig::bSkipAnimationOnHitches |
Whether to skip animation when a hitch occurs.
If enabled, the spring's position will be set to the target position with large quantums, otherwise the spring will animate in slow motion.