playMaker

Author Topic: Find midpoint of 2 GameObjects  (Read 2226 times)

adentutton

  • Playmaker Newbie
  • *
  • Posts: 9
Find midpoint of 2 GameObjects
« on: June 01, 2014, 08:37:50 AM »
Hey guys

I found this thread on the Unity Forums, wondering how easy it would be to create an action for it!

http://answers.unity3d.com/questions/320328/calculating-the-midpoint-of-two-objects.html

It's a script for find the midpoint of 2 objects and then just needs to add the resultant vector to a variable so it can be used?

Hope someone can help!

escpodgames

  • Hero Member
  • *****
  • Posts: 687
    • Assets
Re: Find midpoint of 2 GameObjects
« Reply #1 on: June 05, 2014, 07:56:26 PM »
Should take a look at the vector3 lerp action.