Playmaker Forum
PlayMaker News => General Discussion => Topic started by: Kothe on December 17, 2013, 02:10:25 PM
-
Hi.
I have followed the tutorial about RasyCast. And make it work on my proyect.
Once the obj. has been hited and sent an Equal Event, I need it to raycast again to send a Not Equal event.
Some kind of over\exit... on-off switch.
I have tried with two states and also two FSM with Global variables. Unsuccessfully. :(
THX
-
Not sure what you mean, can you clarify?
-
Hi,
I think that the following thread will help you understand how to manually check for in and out casting, in that sample it uses the mouse pick action, but raycasting would be totally the same in principle.
http://hutonggames.com/playmakerforum/index.php?topic=5120.msg24564#msg24564
Bye,
Jean
-
I have tried it. But I can not make it work. >:(
-
Hi,
Can you bump me next week or the week after, I'll make a working sample.
bye,
Jean
-
You sure
Thanks alot
-
Raycast 2 by jeanfabre?
Hi,
Following a post, please find a updated version of the RayCast action that implements a "no Hit" Event, so it's easier to build your states logic.
Bye,
Jean
* RayCast2.cs (4.78 kB - downloaded 24 times.)
http://hutonggames.com/playmakerforum/index.php?topic=3738.msg17310#msg17310
-
:o ::)
The amount of stuff I wrote is becoming too much for my poor memory...
Thanks for referencing this!
one of the "resolution" I set to myself next year is to move everything into an online repository and find the time to make a proper in Editor custom action search, that would look in that rep for actions not yet in a project. That's going to help all these situations a lot.
bye,
Jean
-
Hah, I didn't know about Raycast 2 either and have been making a Raycast 2 action including a NoHit event. Derp derp (thats what I get for not searching first)
A repository would be immensely useful, especially when keyword searches on the forum can often leave critical threads buried. I think we talked about something similar in Feature Requests a while back but it was much more advanced. A much simpler solution is likely the way forward.
-
Hi,
Yep, the amount of custom actions has reach now a point where the forum context shows its limitations. I will clean up and create that rep early january. I did study the various reps api and I think it's very much possible to do a search and pool just the right action.
Bye,
Jean