x


How to create a path of nodes?

Hi all. I am very beginner in unity so please give a simple answer. I want to create third person sky traversing game. the player has some constraint such as limitation of far away from the path. I have Implemented it with many planes with colliders but i want a new way.

please notice to this: The Level Designer want to create the path of gameplay not me.

So thanx.

more ▼

asked Jul 04 '11 at 07:12 AM

MohsenEbrahimi gravatar image

MohsenEbrahimi
1 6 8 11

(comments are locked)
10|3000 characters needed characters left

1 answer: sort oldest

You could just write an editor script that adds and removes vector3's from an array. And on GUI, just draw a catmull-rom smoothed line.. Or bezier, whatever flavor you prefer.

In fact I think there's an itween component that essentially does just that... Itweenpath I think it's called.

more ▼

answered Jul 04 '11 at 07:54 AM

testure gravatar image

testure
4.2k 20 25 48

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x238
x90
x19
x12
x11

asked: Jul 04 '11 at 07:12 AM

Seen: 1434 times

Last Updated: Jul 04 '11 at 07:54 AM