Physics Lerp component for A-Frame.
npm install aframe-physics-lerp-componentA Physics Lerp component for A-Frame.
| Property | Description | Default Value |
| -------- | ----------- | ------------- |
| targetPosition | A THREE.Vector3 object representing the target position | 0, 0, 0 |
| targetQuaternion | A THREE.Quaternion object representing the target quaternion | 0, 0, 0, 0 |
| targetVelocity | A THREE.Vector3 object representing the target velocity | 0, 0, 0 |
| targetAngularVelocity | A THREE.Vector3 object representing the target angularVelocity | 0, 0, 0 |
| time | Time to complete the interpolation in milliseconds | 100 |
#### Browser
Install and use by directly including the browser files:
``html
#### npm
Install via npm:
`bash
npm install aframe-physics-lerp-component
`Then register and use.
`js
require('aframe');
require('aframe-physics-lerp-component');
``