PlayMaker Help & Tips > iOS Help

touch version of "Mouse Pick" ?[SOLVED]

(1/1)

JeppeNygaard:
Hi all

I'm in desperate need of a touch-functionality which matches that of the "Mouse Pick" action where I can pick anywhere into my 3d world and store which object was picked and where in worldspace I picked it. The only action I can find which comes close, is the "touch object event" action, but this is still limited to one object only .... can someone help me?

thanks
Jeppe

jeanfabre:
Hi,

 mousePick and mousePickEvent action just works with touches, I just double checked. you need to react to the "mouseDown" event for the mousePickEvent to work with touches tho, not mouseUp.

bye,

 Jean

JeppeNygaard:
Wauw! ... I can't believe it was that simple - thank you VERY much Jean! this was an even better solutio than I hoped for

Cheers
Jeppe

Navigation

[0] Message Index

Go to full version