playMaker

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

adentutton

  • Playmaker Newbie
  • *
  • Posts: 9
    • View Profile
Find midpoint of 2 GameObjects
« on: June 01, 2014, 05: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: 673
    • View Profile
    • Assets
Re: Find midpoint of 2 GameObjects
« Reply #1 on: June 05, 2014, 04:56:26 PM »
Should take a look at the vector3 lerp action.