playMaker

Author Topic: How to compare vector3 simply [SOLVED]  (Read 2836 times)

vonpopov

  • Junior Playmaker
  • **
  • Posts: 98
How to compare vector3 simply [SOLVED]
« 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 !: :)
« Last Edit: May 20, 2014, 08:43:17 AM by vonpopov »

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

vonpopov

  • Junior Playmaker
  • **
  • Posts: 98
Re: How to compare vector3 simply
« Reply #2 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

vonpopov

  • Junior Playmaker
  • **
  • Posts: 98
Re: How to compare vector3 simply
« Reply #3 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

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: How to compare vector3 simply [SOLVED]
« Reply #4 on: May 20, 2014, 08:45:20 AM »
Yup!

I just attached one in the thread so its easier to get =)
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D