Author Topic: Children object "following" parent at different intervals  (Read 1649 times)

Offline pigoto

  • byte
  • *
  • Posts: 9
    • View Profile
Children object "following" parent at different intervals
« on: June 07, 2013, 03:53:46 am »
Is it possible to make a child of a parent object follow the parent translation at a different speed?

So if there are 10 child objects to a parent and the parent does a translate(0, 0, 10) all the children will translate but at different intervals? So object 1 will go after 4ms.. Object 2 after 20ms etc..

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Children object "following" parent at different intervals
« Reply #1 on: June 07, 2013, 12:20:09 pm »
You can of course do that, but you would have to code the logic yourself (which shouldn't be very hard). There's no method in the engine itself that does this.

Offline pigoto

  • byte
  • *
  • Posts: 9
    • View Profile
Re: Children object "following" parent at different intervals
« Reply #2 on: June 07, 2013, 02:34:31 pm »
Could you give me a rough idea of where to start with that? Is there a specific function i could override to put a delay in?