Cool Pivot Dragging Help ?
Without making three constrained sensors, is it possible to make an actor that can be rotated when you drag the left or right sides but also moved when you touch the center?
Without making three constrained sensors, is it possible to make an actor that can be rotated when you drag the left or right sides but also moved when you touch the center?
Comments
There's a demo for this out there somewhere. I'll try to find it but it may take some time...
Edit: found it!
I think that demo is overcomplicating a fairly simple task, instead you could just use . . .
When magnitude > whatever you want
Constrain rotation to vector to angle (self to mouse)
Otherwise constrain x to mouse x and y to mouse y.
I'll test it out . . . hold on, back in a moment . . .
Here you go, a simpler version . . . . (attached)
Awesome thanks!!!! I was searching incorrectly but...
P.S . . . your illustrations in your initial post - describing what it was you were trying to achieve - were as useful as they were rare, I wish everyone took the time time to clearly communicate their ideas as you have in this thread.
+1