Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

Bezier Curve Ingame Editor

Discussion in 'Assets and Asset Store' started by Tehenauin, Apr 25, 2024.

  1. Tehenauin

    Tehenauin

    Joined:
    Oct 18, 2018
    Posts:
    49
    Hey Folks!

    I know there are a bunch of Bezier curve tools online already and I had a look on some, but I wasn't able to find on yet, that has Ingame edit support. What I need is a tool that lets me edit bezier curves in the actual game at runtime. Do you know if there is anything like that out there already. It would save me a lot of time, if I don't have to do it on my own.
     
  2. SpookyCat

    SpookyCat

    Joined:
    Jan 25, 2010
    Posts:
    3,790
    Think they all would allow that you just have to change the handle data and knot position. For example in the video below I just did a simple script to change the knot position on mouse drag once you clicked a gixmo sphere for each knot, and other inputs changed the bezier handles. It would be pretty much the same for any bezier system or Unitys spline system.
     
  3. Tehenauin

    Tehenauin

    Joined:
    Oct 18, 2018
    Posts:
    49
    Thanks for the reply! Yeah, thats about what I will do, when I cant find an alternative. But its still a bit of work, to manage all the handle objects and add path visualisation (probably via line renderer)