Cool Pivot Dragging Help ?
iamcartez
Houston, TexasMember Posts: 648
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!
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
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...
www.appdore.com || appdore twitter || appdore facebook
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
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx