≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Object Fade
Posted by:
(you are not logged in)
Enter the missing letter in: "Interna?ional"
(you are not logged in)
Text:
[quote][b]Robo[/b] wrote: yes, you have to use code for that. set up a variable called 'transparency and update its value over time with every x milliseconds....or use a on press key do something... Try something like this code on item named 'object': // fully transparent (1) to opaque (0) var amt = ccbGetCopperCubeVariable("transparency"); var node = ccbGetSceneNodeFromName("object"); ccbSetSceneNodeMaterialProperty(node, 0, "Param1", amt); print("transparency is: " + amt); change as needed to suit what you want. note 0 is texture slot 0 - or the first texture slot. In some cases might be multiple texture slots but generally is just the one texture slot with also a single texture for that slot (can use up to 2 textures with normals but 4 textures can be uploaded for each slot.[/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