playMaker

Author Topic: Midpoint  (Read 206 times)

Plancksize

  • Beta Group
  • Junior Playmaker
  • *
  • Posts: 52
    • View Profile
Midpoint
« on: July 28, 2018, 04: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: 372
    • View Profile
    • terrivellmann.tumblr.com
Re: Midpoint
« Reply #1 on: July 31, 2018, 09:53:06 AM »
Thanks!
For 3D at least you can also use the Vector3 Lerp action, with the value set to 0.5