playMaker

Author Topic: Midpoint  (Read 2012 times)

Plancksize

  • Beta Group
  • Junior Playmaker
  • *
  • Posts: 75
Midpoint
« on: July 28, 2018, 07:51:04 AM »
Someone asked around for how to get the midpoint between two object and that might have been one of my first Vector math questions, so I made a couple of small actions to get a midpoint between two objects in a 2D or 3D space.


terri

  • Sr. Member
  • ****
  • Posts: 386
    • terrivellmann.tumblr.com
Re: Midpoint
« Reply #1 on: July 31, 2018, 12:53:06 PM »
Thanks!
For 3D at least you can also use the Vector3 Lerp action, with the value set to 0.5