Author Topic: Best way to display the same animated model multiple times  (Read 2631 times)

Offline MrFluff

  • byte
  • *
  • Posts: 11
    • View Profile
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 :)

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Best way to display the same animated model multiple times
« Reply #1 on: May 31, 2011, 01:35:33 pm »
Try new Object3D(model, false); instead.

Offline MrFluff

  • byte
  • *
  • Posts: 11
    • View Profile
Re: Best way to display the same animated model multiple times
« Reply #2 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.