playMaker

Author Topic: Mouse Pick Event with RIGHT mouse button  (Read 1173 times)

evilpikmin

  • Playmaker Newbie
  • *
  • Posts: 16
Mouse Pick Event with RIGHT mouse button
« on: July 08, 2019, 10:49:28 AM »
Is it possible to use the Mouse Pick Event action with the 'right' mouse button? I cant see an obvious way to do it but as always I am open to the prospect of user error...

TheNecron

  • Playmaker Newbie
  • *
  • Posts: 17
Re: Mouse Pick Event with RIGHT mouse button
« Reply #1 on: July 08, 2019, 06:13:47 PM »
The mouse pick event raycasts from your cursor. it's separate from the trigger event to transition, just make the condition to transition Get Mouse Button (with Right in the Button field instead of Left)

evilpikmin

  • Playmaker Newbie
  • *
  • Posts: 16
Re: Mouse Pick Event with RIGHT mouse button
« Reply #2 on: July 09, 2019, 03:53:23 AM »
Mouse Pick Event doesn't have a a drop down to select which mouse button to use. I want to right click an object and fire off an event. I can use GetMouseButton to detect the right mouse button but can I raycast from the mouse some other way?
all help appreciated!

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Mouse Pick Event with RIGHT mouse button
« Reply #3 on: July 11, 2019, 08:31:15 AM »
Hi.
I believe that there is a 'Mouse Pick Event 2' on the Ecosystem that uses a button ID.
Maybe that works :)