Forum

NodeEditor object rotation to mouse position/Drag and Rotate

How can I rotate an object along an axis, by dragging the mouse using the logic nodes?So far what I got is to rotate the object X degrees in Y time, but on click only.Is this at all possible to do this with nodes, and use mouse drag?

Second question on the side, is it possible to attach scripts to objects like in the Three.JS web editor or Unity style?