Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Facade class which inherits SplineController
#1
I want to have a Facade class for my character and also using SplineController for locomotion stuff.

In my CharacterController I have some function which should be called in OnEnabled, OnDisabled, Awake, Start, Update, FixedUpdate and LateUpdate. I tried to override them and call base of them at the first of each method but there is a error because of editor execution of SplineController (Null references).

Do you suggest anything for solving this problem ? Can I disable editor execution ?
Reply
#2
Hi,
It is best to keep the editor execution order of Curvy related classes as it is. Can't you define the execution order of your own script to execute at the right time?
The execution order that is actual set aims to make sure that classes are updated in the correct order. For example, that the spline finishes updating before the controller uses it to move an object on it.
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  SplineController slows down approaching connections jh092 5 469 08-07-2020, 03:56 PM
Last Post: _Aka_
  make "GetCurrentControlPoint" in SplineController more accessable VampirasuGameStudio 2 979 04-19-2020, 02:03 PM
Last Post: _Aka_
  SplineController Delta after instantiate(Bug?) Marc Mitchell 5 2,258 11-26-2019, 08:38 PM
Last Post: _Aka_
  Move SplineController in rhythm of song electricpunch 10 5,477 05-16-2019, 09:02 PM
Last Post: _Aka_

Forum Jump: