Playmaker Forum
PlayMaker Updates & Downloads => Share New Actions => Topic started by: Lane on March 16, 2014, 01:25:14 PM
-
This action will take an Origin position and compute an intercept point for a moving target based on a speed variable. It's not perfect, but can be pretty powerful as is.
I'm working on AI and compiled this in an hour or so based on some reference code found on the unity forums (creds in code). Please feel free to test it and make suggestions or adjust it yourself.
// 21-Aug-14
// LeadTarget minor update to be in Physics category and check for Rigidbody on The Target.
// LeadTarget2d added
-
Looks great, If some of the basic game making functions can be implemented into PlayMaker instead of just the Unity Commands it would make it a truly powerful tool indeed!
-
Looks great, If some of the basic game making functions can be implemented into PlayMaker instead of just the Unity Commands it would make it a truly powerful tool indeed!
Yeah I wanna make some more of these sort of actions. I usually look at some code and find ways to translate that into actions but eventually I was just like "why don't I just use the code and expose the variables in a action?"... Makes way more sense and cleans up the states significantly.
-
Super handy action, thx Lane!
-
Thanks for the magic
-
fantstic!
-
Hi,
should go on the ecosystem :)
bye,
Jean
-
Are there any plans for a version that supports rigidbody2D components? I'm having trouble getting it working in a 2D environment.
-
Yup. I added it to the main post. =)
-
Wow, thanks for such a quick response! :D