Dropping a path for player and camera to follow [repost]

Hi all. Don’t mean to repost things but this is worrying me a lot. I finally worked out what I want to get up and running in Unity, bought the Indie and seem to have immediately hit a wall.

Here’s the original thread:

http://forum.unity3d.com/viewtopic.php?t=16632

What I want to do is have a path that leads through a whole game level that the player follow (on button input). I also want a path for the camera to follow the player. I’m thinking something like a Klonoa style 2.5D platformer.

Having a path tool is a pretty rudimentary thing for an editor to have, but I don’t see any path tools and I’ve searched the forum and tutorials for anything similar and drawn a blank. Especially as the iPhone is ultimately the intended target, enemies etc following simple splines are super low processing and something I consider essential.

If there are no path tools in the editor then I’m happy to drop them in a 3D package, export them into the Unity scene then reference them in a script.

Any help and suggestions are much appreciated for this very new to Unity developer :slight_smile:

No, there is not (as of now, at least) a path/spline tool within Unity. I would bet that someone (maybe me!) will at some point create one, but for now you should use your 3D program.

It might be worth looking into creating an animation for your camera, too.

Hi Moondog90210

Not sure, look at this ; http://www.unifycommunity.com/wiki/index.php?title=Spline_Controller :wink:
It’s just what you need…

Thanks again! That looks exactly like what I’m after.

Will try it out in the next couple of days and report back!

That has to be one of the most easy to use and intuitive scripts I have ever seen…! It just works EXACTLY like you expect, which is a very rare thing, indeed :slight_smile:

Only thing, it really needs to be able to do lines that aren’t closed. I don’t need my objects to go animate back to the start position, I just need them to jump to that… But I’ll manage that…