Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Hi all, Quick question I'm trying to display an objects rotation info xyz in a 2d overlay window while running the game...does anyone know how I can achieve this ? any help would be great. I know how display info like $health$, and the basic variables..and also how to display the info in the Output window however in a 2d overlay it's stumping me. thanks CF |
||||
|
you can trigger a javascript action and then use this code...
Change "cubemesh1" with the name of the object you want to show the rotation... and "Display_Rotation" to any variable you want.. and then add a 2d overlay to display the variable by using $Display_Rotation$... |
||||
|
Change "cubemesh1" with the name of the object you want to show the rotation... and "Display_Rotation" to any variable you want.. and then add a 2d overlay to display the variable by using $Display_Rotation$... Ah! perfect, thank you so much. CF |
|