Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: vonpopov on May 20, 2014, 07:08:39 AM

Title: How to compare vector3 simply [SOLVED]
Post by: vonpopov on May 20, 2014, 07:08:39 AM
Hi,

I would like to know, how to compare vector3 variable to another vector3 variable (i want to know if my object has reached its destination), i would it simple, not by extracting float x,y,z, compare one float, then compare the second etc ...

thanks you !: :)
Title: Re: How to compare vector3 simply
Post by: Lane on May 20, 2014, 07:41:49 AM
Here is the action:

http://hutonggames.com/playmakerforum/index.php?topic=3058.msg13988#msg13988
Title: Re: How to compare vector3 simply
Post by: vonpopov on May 20, 2014, 08:39:15 AM
Here is the action:

http://hutonggames.com/playmakerforum/index.php?topic=3058.msg13988#msg13988

i am no programer, could you tell me how to add this into playmaker ?
( i assume i have to create some script file or ? )

thanks you
Title: Re: How to compare vector3 simply
Post by: vonpopov on May 20, 2014, 08:42:49 AM
Here is the action:

http://hutonggames.com/playmakerforum/index.php?topic=3058.msg13988#msg13988

i am no programer, could you tell me how to add this into playmaker ?
( i assume i have to create some script file or ? )

thanks you


nevermind, just found how to !
i created a C+ file, copy pasta, and trololo :)  this is working

what a wonderfull world :D
Title: Re: How to compare vector3 simply [SOLVED]
Post by: Lane on May 20, 2014, 08:45:20 AM
Yup!

I just attached one in the thread so its easier to get =)