playMaker

Author Topic: [SOLVED] Mouse Pick issue ?  (Read 1085 times)

heavygunner

  • Sr. Member
  • ****
  • Posts: 344
[SOLVED] Mouse Pick issue ?
« on: March 20, 2020, 08:11:47 AM »
Hello !

I have a Cube. I want to rotate in Y axis every time I click on it.

in State 1 I used Mouse Pick and Compare Gameobject tag. If tag of Clicked object is "Beam", It will go to 2nd state and will rotate that Beam. and come back again to First state.

Problem is, FSM is going to second state when I bring mouse above cube. It should only go to second when I click on it.

Overall, I wanna rotate that Cube in Y axis 90 Degree every time , I click* on it.

Help !
« Last Edit: March 21, 2020, 09:15:20 PM by heavygunner »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: Mouse Pick issue ?
« Reply #1 on: March 20, 2020, 11:08:23 AM »
HI. you should have a mouse down and then mouse pick :)