void Awake() { velocitySamples = new Vector3[velocityAverageFrames]; angularVelocitySamples = new Vector3[angularVelocityAverageFrames]; if ( estimateOnAwake ) { BeginEstimatingVelocity(); } }