Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: RC on June 27, 2016, 03:25:22 AM

Title: Ricochet with playmaker?
Post by: RC on June 27, 2016, 03:25:22 AM
Hi!

Can someone show me how to get richochet working with playmaker?
I have watch this video so many times and trying to put it together with playmaker actions but was not successful.

I don't understand vector reflect it's asking for two vector3, Get Atan asking for a float instead of vector 3?
I'm so confuse
Please have a look at this video and let me know if it's possible with playmaker. Thanks

https://www.youtube.com/watch?v=u_p5H0wEN8Y
 (https://www.youtube.com/watch?v=u_p5H0wEN8Y)
Title: Re: Ricochet with playmaker?
Post by: jeanfabre on June 27, 2016, 03:57:18 AM
Hi,

 It's definitly possible.

there are three versions around for GetAtan, one for vector3, one for vector2 and one for float. Do you ahve them all? or just GetAtanVector3? it's on the Ecosystem or here (https://github.com/jeanfabre/PlayMakerCustomActions_U3/blob/master/Assets/PlayMaker%20Custom%20Actions/Trigonometry/GetAtan.cs)

as for reflect, I would simply have a vector 3 and inject values in that vector 3 from where even you have your values ( vector 2 or floats), then perform a reflect.

 I'll see if I can do a vector2 operator with reflection ( this is what it does in the script right?)


Bye,

 Jean
Title: Re: Ricochet with playmaker?
Post by: Fat Pug Studio on June 27, 2016, 06:43:19 AM
Hi,

i kind member made me a FSM yesterday, check it out:

http://hutonggames.com/playmakerforum/index.php?topic=13078.0

I still haven't tried it out though.