Hello, I want to go through some coordinates
Example : {[atv,ath,fov], [atv,ath,fov], [atv,ath,fov] ... }
And I want the panorama walk through those coordinates
I already did it in Javascript, works, but not so smoth, the movement is terrible
Has some function on krpano to do that.
QuoteDisplay More
loadInterval = setInterval(() => {tkl.getKrPano().set('view.vlookat',coordinates[currentFrame][0][0])
tkl.getKrPano().set('view.hlookat',coordinates[currentFrame][0][1])
tkl.getKrPano().set('view.fov',coordinates[currentFrame][0][2])
if ( currentFrame >= lastFrame ) {
clearInterval(loadInterval);
} else {
currentFrame++;
}
},48);