Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to make controller affect another object than the one controller is attached to
#1
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!
Reply


Messages In This Thread
How to make controller affect another object than the one controller is attached to - by Aberdyne - 01-12-2016, 04:08 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Create Game Object Renaming Options rickgplus 1 1,224 09-23-2025, 09:33 AM
Last Post: _Aka_
  Morph game object along curve. mikechr2000 5 3,590 02-04-2025, 09:30 PM
Last Post: _Aka_
  Create Mesh Node, Make Static Options rickgplus 1 2,094 01-23-2025, 10:12 AM
Last Post: _Aka_
  Is it possible to make the face at the end of mesh? Chanon 3 2,820 11-14-2024, 04:38 PM
Last Post: _Aka_

Forum Jump: