Jump to content

WidgetManipulators


photo

Recommended Posts

Hi,

 

I have been trying to use the WidgetManipulator (translate, scale, rotate), by copying code from the editor scripts, but have been unable to get the manipulators to show.

 

Gui gui = engine.getGui();
WidgetManipulatorTranslator translator = new WidgetManipulatorTranslator(gui);
gui.addChild(translator, GUI_ALIGN_OVERLAP);

 

What else besides this needs to be done to make it display? I assume the default size of 128 pixels is enough to be visible.

Link to comment
×
×
  • Create New...