Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Hi everyone ! i would like to know if it is possible to link the direction cube of a dir.Light to a node mesh ? |
||||
|
yes, that is possible by scripting |
||||
|
guest_guest wrote: yes, that is possible by scripting I don't doubt it, except that I found nothing about it in the documentation, JavaScript Scripting reference section. EDIT: Obviously I didn't read enough, lol, I found: ccbGetSceneNodeProperty(sceneNode, propertyName) For light nodes, properties like 'Radius' (for point lights), 'Color', and 'Direction' (for directional lights) are available. |
||||
|
|