Momentum Scripting v1
Deprecated API version. Use Momentum.v2 for new scripts.
Loading...
Searching...
No Matches
Deprecated List
Class MOMENTUM_NAMESPACE::AngularMotor
Use Momentum.v2.AngularMotor and getHoldPositionDamping()/setHoldPositionDamping() for position-holding damping. See Migrating from the deprecated v1 API.
Class MOMENTUM_NAMESPACE::Joint
Use Momentum.v2 and its translational and rotational stiffness methods. See Migrating from the deprecated v1 API.
Class MOMENTUM_NAMESPACE::LinearMotor
Use Momentum.v2.LinearMotor and getHoldPositionDamping()/setHoldPositionDamping() for position-holding damping. See Migrating from the deprecated v1 API.
Class MOMENTUM_NAMESPACE::MaterialPair
Use Momentum.v2.MaterialPair. Convert damping time to attenuation when migrating; see Migrating from the deprecated v1 API.
Member MOMENTUM_NAMESPACE::MaterialPair::getDamping () const
In Momentum.v2, use getAttenuation(). Its result is attenuation n (dimensionless integration steps) instead of damping time tau in seconds. Convert using n = tau / h, or tau = n * h, where h is the active simulation timestep in seconds. Review calculations using the returned value before migrating. See Migrating from the deprecated v1 API.
Member MOMENTUM_NAMESPACE::MaterialPair::setDamping (double damping)
In Momentum.v2, convert the damping time with Momentum.v2.convertDampingTimeToAttenuation() and pass the result to setAttenuation(). See Migrating from the deprecated v1 API.
Class MOMENTUM_NAMESPACE::SecondaryJoint
Use Momentum.v2 and its stiffness methods. See Migrating from the deprecated v1 API.
Class MOMENTUM_NAMESPACE::SpringJoint
Use Momentum.v2 and its spring stiffness methods. See Migrating from the deprecated v1 API.