Hello,
I'm currently in need of a way to make some SplineController affect another object than the object the controller is attached to... I started to create another class inheriting from SplineController and began to override ApplyTransformRotation, ApplyTransformPosition, ... in short every method that use transform and replacing it by objectToMove.transform. This would have been fine until I stumbled on the Refresh method from CurvyController which also use transform in its body. Unfortunatelay I cannot just copy that one since it uses protected/private fields.
I will thus have to modify the CurvyController directly to add this possibility. Right? Is there any caveat in doing that?
Thanks!
I'm currently in need of a way to make some SplineController affect another object than the object the controller is attached to... I started to create another class inheriting from SplineController and began to override ApplyTransformRotation, ApplyTransformPosition, ... in short every method that use transform and replacing it by objectToMove.transform. This would have been fine until I stumbled on the Refresh method from CurvyController which also use transform in its body. Unfortunatelay I cannot just copy that one since it uses protected/private fields.
I will thus have to modify the CurvyController directly to add this possibility. Right? Is there any caveat in doing that?
Thanks!