ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperCube > Help with CopperCube
forum topic indicator Link the direction cube of a dir.Light to a mesh
person icon
coltatica
Registered User
Quote
2025-07-12 10:32:43

Hi everyone ! i would like to know if it is possible to link the direction cube of a dir.Light to a node mesh ?

person icon
guest_guest
Guest
Quote
2025-07-12 14:25:25

yes, that is possible by scripting

person icon
coltatica
Registered User
Quote
2025-07-12 18:38:39

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.


Create reply:










 

  

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


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |