www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: MrFluff on May 31, 2011, 01:25:22 pm

Title: Best way to display the same animated model multiple times
Post by: MrFluff on May 31, 2011, 01:25:22 pm
Hi there, whats the best way of displaying the same animated model (NOT using the same animation name and animation time) multiple times in a scene.

When using static models i can just use the cloneObject() method or use new Object3d(obj), but using animated models the animation is copied as well and all models are animated synchronously.
Right now I actually use Loader.loadMD2 each time to get a new model into the scene.

Thx for the help :)
Title: Re: Best way to display the same animated model multiple times
Post by: EgonOlsen on May 31, 2011, 01:35:33 pm
Try new Object3D(model, false); instead.
Title: Re: Best way to display the same animated model multiple times
Post by: MrFluff on May 31, 2011, 01:56:12 pm

Uh, I should have thought about that myself ^^.
Well that's exactly what I needed. Once again thank your for the help.