Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Boomerang / Frisbee trajectory visualization and control

Discussion in 'General Discussion' started by iftah, Jan 13, 2021.

  1. iftah

    iftah

    Joined:
    Feb 25, 2014
    Posts:
    16
    Hi,
    I need to develop a Boomerang / Frisbee trajectory visualization and control it with touch for 3D mobile game just like this one:

    But I have no idea how to get started, any suggestions on how to achieve this effect.
    Thank you.
     
  2. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,541
  3. neginfinity

    neginfinity

    Joined:
    Jan 27, 2013
    Posts:
    13,299
    This is definitely a spline. It is not necessarily a Bezier spline, and could be a Camull Rom one, but bezier would give you a better trajectory control.
     
    Antypodish likes this.
  4. koirat

    koirat

    Joined:
    Jul 7, 2012
    Posts:
    1,996
    I would say this are multiple splines connected with flipped control points at connection (for smooth joining).
     
  5. neginfinity

    neginfinity

    Joined:
    Jan 27, 2013
    Posts:
    13,299
    That's what Bezier spline does.

    Bezier in blender:
    Control poitns off:
    upload_2021-1-13_19-40-8.png
    Control points on:
    upload_2021-1-13_19-40-26.png
     
  6. aer0ace

    aer0ace

    Joined:
    May 11, 2012
    Posts:
    1,511