Unable to use poly hotspot color change API

Q&A about the latest versions
Post Reply
NishantA23
Posts: 16
Joined: Mon May 17, 2021 10:51 am

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
User avatar
Hopki
Gnome
Posts: 13029
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

We will respond to your e-mail, but this is a bug and will be fixed in the next release.
Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
NishantA23
Posts: 16
Joined: Mon May 17, 2021 10:51 am

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
User avatar
Hopki
Gnome
Posts: 13029
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

We have responded to your e-mail.
Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Post Reply