Associated a light with a LightControl

Issue #187 resolved
Former user created an issue

Associate a LightControl light from the JmonkeyBuilder editor panel so that light sources can be moved along with the node.

Comments (7)

  1. Stephan Koppel

    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.

  2. Aliaksandr Brui repo owner

    @stkopp parenting is already implemented in jME, we have the problem only with lights.

  3. Stephan Koppel

    @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

    parent.gif

    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

  4. Log in to comment