www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: pigoto on June 07, 2013, 03:53:46 am

Title: Children object "following" parent at different intervals
Post by: pigoto 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..
Title: Re: Children object "following" parent at different intervals
Post by: EgonOlsen 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.
Title: Re: Children object "following" parent at different intervals
Post by: pigoto 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?