Please refer to the following link of the project to reproduce the problems easily,
https://playcanvas.com/project/1269615/overview/information-hotspots
The first issue, the hotspot can’t be showed by tween changed position.
step 1,
button “show2”, set “Anim Show?” true, and the hotspot2, set ‘Enable fade’ true.
step 2,
launch the project,
click the button ‘show2’, the hotspot2 can’t be showed.
if the button “show2”, set “Anim Show?” false, or the hotspot2, set ‘Enable fade’ false.
The hotspot will show correctly.
The second issue, the hotspot can’t be clicked normally when showed by tween position.
step 1,
button “show3”, set “Anim Show?” true, and the hotspot3, set ‘Enable fade’ false.
step 2,
launch the project,
click the button ‘show3’, you can see the hotspot3, but click it has no response.
I think maybe the entity.position() of the hotspot3 didn’t be updated, you can click the shere(the origin position of the test3), the hotspot3 could be triggered.
So I tried add the code to update the position of the hotspot, then it can be triggered normally.
I use the setTimeOut 1000, means to wait the animation acompolished.
Thank you in advance, please help to find out the problems or are they bugs?