Tu.Xiaomi Posted January 30, 2015 Share Posted January 30, 2015 I want to rotate a node 1o with 1 mouse wheel step. The mouse wheel controlled the rotation. Link to comment
unclebob Posted February 2, 2015 Share Posted February 2, 2015 Hi there! Use engine.app.getMouseAxis function (https://developer.unigine.com/en/docs/1.0/scripting/library/engine/engine.app#engine.app.getMouseAxis_int) in order to get mouse wheel delta value and set your rotation using that value. Link to comment
Recommended Posts