playMaker

Author Topic: It'd be nice if 'GetDistance' gave us the option to Use 'Vector3's  (Read 4992 times)

Scottyboombotz

  • Playmaker Newbie
  • *
  • Posts: 9
Get distance is of course super useful, but I find I'm having to create empty objects and put them in locations just to measure distances. A large percentage of the time I'll have to Vector 3 world locations I want to measure between, or a GameObject and a Vector 3 location. Currently I have to create an empty game object and position it where to the Vector 3 location, measure, than destroy the empty game object. This is a really expensive way to do this, so if Get Distance would allow you to insert a vector 3 into one or both the slots it would save me a lot of cycles. Also if anyone knows a simple way to accomplish this currently I'd be willing to listen.

Thanks,

Scott

refinedgames

  • Playmaker Newbie
  • *
  • Posts: 19
Re: It'd be nice if 'GetDistance' gave us the option to Use 'Vector3's
« Reply #1 on: December 20, 2012, 09:24:05 PM »
I second this!!!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15594
  • Official Playmaker Support

kiriri

  • Hero Member
  • *****
  • Posts: 506
Re: It'd be nice if 'GetDistance' gave us the option to Use 'Vector3's
« Reply #3 on: December 21, 2012, 05:05:57 AM »
actually, this is already part of the "vector3 operator" action. Hard to find though, so it might be worth having a separate action.
Best,
Sven