Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: human890209 on September 24, 2016, 09:23:19 PM

Title: Let's get NGUI Raycast Info just by the "Raycast hit info" action?
Post by: human890209 on September 24, 2016, 09:23:19 PM
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
Title: Re: Let's get NGUI Raycast Info just by the "Raycast hit info" action?
Post by: human890209 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