Associated a light with a LightControl
Associate a LightControl light from the JmonkeyBuilder editor panel so that light sources can be moved along with the node.
Comments (7)
-
-
repo owner @stkopp parenting is already implemented in jME, we have the problem only with lights.
-
Can we parent single property to object to make driver as well?
-
repo owner @stkopp what do you mean?
-
@JavaSabr For example: I have UI element in my game (this element is a real game object but parented to the camera and have UI z-depth) I want to be able to move it along x-axis and turn off a light in my scene. This can be done with object datablock linking. If I link X-translate to light power, I can control light power by simply dragging this UI controller
In big engines, this works via nodes, but since we don't have advanced object nodes ability to link any parameter to any other in editor will be very helpful for prototyping games
-
repo owner Implemented supporting Light Control in the 1.3.2 version.
-
repo owner - changed status to resolved
- Log in to comment
edit. This is more wide ticket. We have to create parenting for every object in JMB not just lights.
If we Implement parenting, all transform changes of mother(padre) object will be transferred to child.