Skip navigation







For a long time I wanted to not only lerp my transforms between different positions and rotations but to smoothly interpolate them on a runtime generated bezier. This way the movement would look much smoother and the player/user would not loose their orientation.

Last night I finally started implementing this. I found an almost complete BezierPath-Class for Unity3d by Herman Tulleken from dev.mag.org.za so I started from there and created a BezierWalker Component Script that iterates a transform along the path and a BezierController that actually holds the BezierPath itself.

I also developed an Editor Script that allows editing the Path and control Points on the curve. Since the result is more of an editor experience I only share this screenshot. Let me just state that this was done in one evening. So the stuff is out there for you to get it and make such an editor, walker and controller yourself.

Anyhow I provide the scripts (except the editor script) for you: BezierPath Scripts

Update: Editor Script now also available! Bezier Path Editor Scripts

Unity3d BezierPath Editor

One Comment

    • jim brown
    • Posted 11. August 2011 at 17:36
    • Permalink

    Hello, I found your blog from google. Really great blog. Best Regards


2 Trackbacks/Pingbacks

  1. [...] geht es zum Download von Kai Wegners Bezier Paths. Viel Spaß beim [...]

  2. By » Bezier Editor Scripts (Update) Kai Wegner on 10 Jan 2012 at 12:53 pm

    [...] is an update post. Due to the recent mention of my previous post about my BezierPath Scripts for Unity3D I will now provide the Editor Script, too. So you can start with this package [...]

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">

Login with Facebook:
Log In