technology logo
technology logo

Sync the position of entity with respect to two animation in aframe

share link

by vsasikalabe dot icon Updated: Jan 25, 2023

Solution Kit Solution Kit  

In this kit, we're going to see how to Sync the position of entity with respect to two animation in aframe with simple steps.Components are registered with AFRAME. registerComponent() . We pass the name of the component, which will be used as the HTML attribute name in the component's representation in the DOM. Then we pass the component definition which is a JavaScript object of methods and properties.Algebraically, a vector in 3 (real) dimensions is defined to ba an ordered triple (x, y, z), where x, y and z are all real numbers (x, y, z ∈ R). The set of all 3 dimensional vectors is denoted R3.

Please check the code below,