Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: roach_779 on March 10, 2013, 09:58:52 PM
-
I want to grab an object with a mouse and be able to drag around the screen. What actions should I be using?
-
You can use a mouse pick and store as a vector 3. Then have the object follow that vector 3.
Is it a gui type drag or a drag through the scene?
-
You can use a mouse pick and store as a vector 3. Then have the object follow that vector 3.
Is it a gui type drag or a drag through the scene?
Thanks for the reply.
Drag through scene.
So, I tried using translate, but rather than moving slowly, it pops into position.
-
You can use a mouse pick and store as a vector 3. Then have the object follow that vector 3.
Is it a gui type drag or a drag through the scene?
Thanks for the reply.
Drag through scene.
So, I tried using translate, but rather than moving slowly, it pops into position.
Use Move Towards, Translate will make a change from A to B in the object coordinates, whereas Move Towards will compute a direct line from A to B and follow it. You'll notice the difference in options.
-
Hi,
try with this action,may be help you.
http://hutonggames.com/playmakerforum/index.php?topic=2509.0
Dev
-
Thanks guys it worked!