if i replace the model to bmap it can't rotate while beeing touched :/
if I use the method i had used in the beginning the entity is in front of the panel.
you know, with
entity INV_kaffeebecher
{
...
}
with this method i also don't have to convert the coordinates, but unfortunately i can't touch and click it.
using your script my cup also keeps its position although the view turns. I want it to look always at the player in the same appearance. Like a 2d image.
Maybe there is a way to get the entity touchable in the other method?
or don't use vec_for_screen, but vec_to_screen to get a "2d entity", maybe then it won't be hidden by the panel. I tried to use vec_to_screen allready, but using that, the cup never appears. *shrug*