Hi there! I've been trying my best to integrate the animation code into my project. But it still does not work.
I added this.animate(); to the top of my code - under this.init - TBH I dont know if the 'this.' should be there? But I'm guessing it should... I read the article provided on async and promises, but I still don't understand how exactly it relates to integrating animation in my project.
Then under this.scene.add(this.model); I added -
async animate (); {
requestAnimationFrame( animate );
this.model.rotation.y+=1;
this.renderer.render(this.scene, thiscamera ); //But this already happens in 'if (pose)' and
//if I delete it from there, the app stops working.
}
Last question : I know that Aframe has a slack channel that specifically addresses these types of issues for noobs like myself. and also allows the community of outsiders to maybe work together.. Do you have one as well? Or - will you be implementing in the future?
Hi there! I've been trying my best to integrate the animation code into my project. But it still does not work.
I added this.animate(); to the top of my code - under this.init - TBH I dont know if the 'this.' should be there? But I'm guessing it should... I read the article provided on async and promises, but I still don't understand how exactly it relates to integrating animation in my project.
Then under this.scene.add(this.model); I added - async animate (); { requestAnimationFrame( animate ); this.model.rotation.y+=1;
this.renderer.render(this.scene, thiscamera ); //But this already happens in 'if (pose)' and //if I delete it from there, the app stops working. }
Last question : I know that Aframe has a slack channel that specifically addresses these types of issues for noobs like myself. and also allows the community of outsiders to maybe work together.. Do you have one as well? Or - will you be implementing in the future?
Thanks so much!