≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Displaying an Objects rotation info in A 2d text Overlay
Posted by:
(you are not logged in)
Enter the missing letter in: "Internation?l"
(you are not logged in)
Text:
[quote][b][/b] wrote: you can trigger a javascript action and then use this code... [code] var s = ccbGetSceneNodeFromName("cubeMesh1"); var rotation = ccbGetSceneNodeProperty(s, "Rotation"); ccbSetCopperCubeVariable("Display_Rotation", rotation) [/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$... *holy*[/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact