VelocityEstimator
Description
Used to estimate release velocities of grabbable objects, without it, the objects would behave as if no external forces are impacting them (excluding the non-precision joint grabbable) on throw
Public methods
void StartVelocityEstimation()
ends any previous velocity estimation
starts a coroutine which calculates linear and angular velocities
void FinishVelocityEstimation()
stops the coroutine - called in the previously mentioned method
Vector3 GetLinearVelocityAverage()
gets the linear velocity average or the average rate at which the object should be moved according to the velocity calculation coroutine started upon grabbing it
Vector3 GetAngularVelocityAverage()
gets the angular velocity average or the average rate at which the object should be rotated according to the velocity calculation coroutine started upon grabbing it
Last updated