Playmaker Forum

PlayMaker Feedback => Action Requests => Topic started by: Scottyboombotz on December 14, 2012, 11:57:12 AM

Title: It'd be nice if 'GetDistance' gave us the option to Use 'Vector3's
Post by: Scottyboombotz on December 14, 2012, 11:57:12 AM
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
Title: Re: It'd be nice if 'GetDistance' gave us the option to Use 'Vector3's
Post by: refinedgames on December 20, 2012, 09:24:05 PM
I second this!!!
Title: Re: It'd be nice if 'GetDistance' gave us the option to Use 'Vector3's
Post by: jeanfabre on December 21, 2012, 04:02:03 AM
Hi,

 Done: http://hutonggames.com/playmakerforum/index.php?topic=2797.0 (http://hutonggames.com/playmakerforum/index.php?topic=2797.0)

bye,

 Jean
Title: Re: It'd be nice if 'GetDistance' gave us the option to Use 'Vector3's
Post by: kiriri 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.