Page 1 of 1

Unable to use poly hotspot color change API

Posted: Fri Apr 12, 2024 9:00 pm
by NishantA23
Hi Hopki / team Object2VR,

We are trying to change color of a specific poly hotspot with id="02" by making an API call. However, it doesn't work. Can you please help ?

This is the code we are trying to use

Code: Select all

function changeColor(){
				obj.changePolyHotspotColor("02", 0x0E6D6E, 0.5, 0x2A1C74, 1);
			}
We also tried using player.changePolyHotspotColor("02", 0x0E6D6E, 0.5, 0x2A1C74, 1); but it throws a console error saying "player is not defined"

Please help. Thank you

Re: Unable to use poly hotspot color change API

Posted: Mon Apr 15, 2024 3:02 pm
by Hopki
We will respond to your e-mail, but this is a bug and will be fixed in the next release.
Regards,

Re: Unable to use poly hotspot color change API

Posted: Mon Apr 15, 2024 4:28 pm
by NishantA23
Hi Hopki,

Can you please give us an estimate on when would be the next release date ? We have to create a POC based on these API calls, and have some strict deadlines.

Can you please help. Thanks

Re: Unable to use poly hotspot color change API

Posted: Mon Apr 15, 2024 10:33 pm
by Hopki
We have responded to your e-mail.
Regards,