ShiVa3D
hud.getComponentRotation
You need some features? ask it to us here!hud.getComponentRotation
by MiguelHerrero » 08 Jun 2009, 07:24
There is a hud.setComponentRotation but not its 'get' counterpart, so I have to keep a local variable to do a 'delta' rotation each frame. I have to clone it to several AIs, so it's kind of dirty. It should be something simple to add.
- MiguelHerrero
- Gold Boarder

- Posts: 281
Re:hud.getComponentRotation
by mal_CanDo » 08 Jun 2009, 10:41
It would also be great to be able to read and set this rotation value directly in the UI within Shiva.
Within the General tab, and above the Scale entry boxes, would make sense.
This would be useful to both set an initial rotation value, and to test what the rotation would look like before coding the effect. I didn't realise HUD component rotation was possible until you mentioned the function above, as the option wasn't available in the UI.
Within the General tab, and above the Scale entry boxes, would make sense.
This would be useful to both set an initial rotation value, and to test what the rotation would look like before coding the effect. I didn't realise HUD component rotation was possible until you mentioned the function above, as the option wasn't available in the UI.
- mal_CanDo
- Gold Boarder

- Posts: 206
Re:hud.getComponentRotation
by MiguelHerrero » 08 Jun 2009, 10:47
I didn't know since I asked it in the forums.... like a week ago :)
Some nice features are buried deep in the API.
Some nice features are buried deep in the API.
- MiguelHerrero
- Gold Boarder

- Posts: 281
3 posts
• Page 1 of 1