playMaker

Author Topic: Let's get NGUI Raycast Info just by the "Raycast hit info" action?  (Read 1598 times)

human890209

  • Junior Playmaker
  • **
  • Posts: 62
I think the NGUI is using raycast and collider to sensor the interaction.
If playmaker can get the Raycast Info of that interaction, it will be great.
For my case, I want to get the hit point position of my UI to get the touch point to perform some Effect and Feature. (start a wave or add a mark on the map something)
I try to read the "NGUI event to FSM proxy" it doesn't pass down the info about the raycast. And I couldn't read deeper there.

Now I'm trying to build the Raycast thing in a Normal Playmaker Way, Dealling with the Not Main Camera Things. ;D

human890209

  • Junior Playmaker
  • **
  • Posts: 62
Re: Let's get NGUI Raycast Info just by the "Raycast hit info" action?
« Reply #1 on: September 24, 2016, 09:44:04 PM »
Now I use Several Actions to get the Result:

Custom Mouse Pick > Create Empty Object > Set Parent > Get Position > Destroy Object