Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Path Controller GameObject parent / attach to another to another Moving GameObject.
#1
Hi  Smile ,

I just what to find out if cuvry path controller component GameObject support attach / Parenting at runtime. what I meant is that I what a GameObject A Containing Curvy Path Controller when attached  or Parented to another GameObject B that  is moving(Global Transform) the path & animation created should follow the parent GameObject B while moving.

Thank you for your reply  Smile
Reply
#2
Hi,
I am not sure I understood the setting your are describing.
A spline controller will follow a spline. This is true independently of the existence/movement of the controller's parent. And it will follow the spline's movement, independently from whether that spline movement is due to modifying the spline's transform or its parent's transform.
Does this answer your question?
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply
#3
(04-21-2018, 02:30 PM)_Aka_ Wrote: Hi,
I am not sure I understood the setting your are describing.
A spline controller will follow a spline. This is true independently of the existence/movement of the controller's parent. And it will follow the spline's movement, independently from whether that spline movement is due to modifying the spline's transform or its parent's transform.
Does this answer your question?

OK I understand but is it possible at run-time, I meant after you press play? 

GameObject(parent) -> Translating In Wold space
  |
  GameObject(With Path Controller Component)

That is what my question meant I hope is Clearer  Smile

*the path animation follows with parent*
Reply
#4
Yes it does, even at run-time
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply
#5
(04-23-2018, 02:38 PM)_Aka_ Wrote: Yes it does, even at run-time

Wow Thanks for the response.
Am happy now.  Smile
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Extrude custom mesh along a path CesarGenera 3 244 09-19-2019, 04:47 PM
Last Post: _Aka_
  Renaming gameObject in scene Locked when there are CurvyGenerator in scene UsernameHed 3 519 07-18-2019, 12:02 AM
Last Post: _Aka_
  Debug message when moving over CP not working. funkd 5 596 07-12-2019, 11:15 AM
Last Post: _Aka_
  Move the Create Mesh of a CurvyGenerator Out of the Main Parent UsernameHed 3 518 07-08-2019, 06:57 PM
Last Post: _Aka_

Forum Jump: