Ambiera Forum

Discussions, Help and Support.

Create a new account, Search, or Login:
Name: Password:
Ambiera Forum > CopperCube > Help with CopperCube
Turn point lights on and off
Author Text

silvereengames
Registered User
Quote
2022-09-28 20:32:31

Im trying to make a program that turns off and on a light when I click a switch. I have been trying to use the show/hide node but it doesn't work. Please note that i am using the light mapping tab. Can someone please help me?


just_in_case
Moderator
Quote
2022-09-28 20:46:52

You need to attach the show/hide action on another node other than the lightnode.
It is always better to attach all your hide/show actions to the root scenenode.

once the light gets hidden, it will no longer be able to execute the action/behavior that is attached to it.


Robo
Guest
Quote
2022-09-29 22:48:31

If you are using CopperCube lightmapping then you have select "Static" as the light type.
Static types do not receive any changing light sources like point lights during the game.
If you want to use changing light sources during your game you have to use 'Dynamic' as the light type.

If you needed both then you could prebake the lightmapping in Blender over the old texture and then in CopperCube make use of dynamic lighting if you wanted but its not possible to do both in CopperCube at the same time.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Interna?ional" (you are not logged in)


Text:

 

  

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© 2020 Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact