LinearElasticSystem Class

Definition

C++
public ref class LinearElasticSystem : Microsoft::MixedReality::Toolkit::Experimental::Physics::IElasticSystem<float>
Inheritance
LinearElasticSystem
Implements

Constructors

LinearElasticSystem(Single, Single, LinearElasticExtent, ElasticProperties)

Default constructor; initializes the elastic system with the specified initial value, velocity, extent, and elastic properties.

Methods

ComputeIteration(Single, Single)

Update the internal state of the damped harmonic oscillator, given the forcing/desired value, returning the new value.

GetCurrentValue()
GetCurrentVelocity()

Applies to

Product Versions
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0