Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to set a speed in Unity Editor
#1
Hello.
I bought your Curvy in Unity Asset Store recently.
This tool is very useful for me.
Thank you.
And I am making some paths for a enemy in my game.

I have a basic question.

I would like to set a speed to each path point.


For instance, there are four path points in 01_MetaData.
And I would like to set a speed like below.
First path point -> speed: 1.0
Second path point -> speed: 2.0
Third path point -> speed: 3.0
Fourth path poin -> speed: 2.0

I have checked some previous questions in this forum.
It looks like that if we want to set a speed to a path point we have to write some code in UserAfterUpdate().
But I found that there are many parameters like Meta CG Options.


So, I have some questions.
1, Should I write some code in UserAfterUpdate() to control a path speed ?
2, Can I control a path speed with Meta CG Options?
3, Are there any good way to set a speed to a path in Unity Editor. Because our artists have to set a speed in Unity Editor. (They don't want to edit any code.)


Thank you.


Attached Files Thumbnail(s)
   
Reply


Messages In This Thread
How to set a speed in Unity Editor - by akira_sh512 - 01-25-2018, 10:14 AM
RE: How to set a speed in Unity Editor - by _Aka_ - 01-25-2018, 02:15 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Unity 6 issues Moonbo 4 1,149 11-21-2025, 12:07 PM
Last Post: _Aka_
Smile Constant speed along a spline? tfishell 1 653 11-13-2025, 11:32 AM
Last Post: _Aka_
Question Omitting Undo events in editor oldfort 3 2,559 05-26-2025, 11:29 PM
Last Post: _Aka_
Information New free asset: Converter For Unity Splines _Aka_ 20 11,976 07-19-2024, 05:15 PM
Last Post: _Aka_

Forum Jump: