hi, i have implemented 3d planet on my site, http://uawar.ca/, but in trying to simplify it buy adding info markers around the planet as it spins, but im not sure how to do it, i can add it in but not to the babylonjs part it breaks the script. any pointers would be great…thanks
if you need to look at the site for a better under standing here is a demo login http://uawar.ca/
im not sure how to do that, im not too strong in babylonjs, but the code gets dis played as example {$rankInfo}, and in the game it will populate with infomation
ok sorry, so that code is an example of a players score that updates when ever it gets higher, what i wanted to do is use similar code on the planet as it spins and the info is there, like temperature, location etc. im just not sure were to place it…i have done in the babylonjs code able to tell it to change the planet type bast on the player, but again not sure how to do the above mentioned
so this is what i did so the planet type changes when ever a player changes it or gets a new planet
var diffuseTexture = new BABYLON.Texture("{$dpath}planeten/small/s_{$image}.jpg", scene);
var nightTexture = new BABYLON.Texture(“textures/imagess.jpg”, scene);
so to do something similar but with temperature, location etc…hope im not confusing anything
So learn about dynamic texture in the docs. Or do the BABYLON.GUI and have the text blocks attach to a transform node that is parented to the planet in the location you want.