playMaker

Author Topic: touch version of "Mouse Pick" ?[SOLVED]  (Read 5376 times)

JeppeNygaard

  • Playmaker Newbie
  • *
  • Posts: 7
touch version of "Mouse Pick" ?[SOLVED]
« on: August 04, 2012, 08:16:30 PM »
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
« Last Edit: August 08, 2012, 12:45:24 AM by jeanfabre »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: touch version of "Mouse Pick" ?
« Reply #1 on: August 07, 2012, 10:39:17 AM »
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

  • Playmaker Newbie
  • *
  • Posts: 7
Re: touch version of "Mouse Pick" ?
« Reply #2 on: August 08, 2012, 12:40:11 AM »
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