 | TetrapodCharacterizationTemplateSetPinningForceProfile Method |
Sets the profile of the ratio of pinning-force-to-joint-angular-limits to apply at different normalized
strength values to try to maintain target position.
Namespace: Candlelight.PhysicsAssembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntaxpublic void SetPinningForceProfile(
IEnumerable<Keyframe> profile,
float samplingFrequency = 0.001f
)
Parameters
- profile
- Type: System.Collections.GenericIEnumerableKeyframe
Profile. - samplingFrequency (Optional)
- Type: SystemSingle
Optional parameter to specify the frequency at which the profile should be sampled in order to normalize its
range.
Remarks
The specified profile will retain its shape, but be normalized to the domain and range [0, 1].
See Also