Mutliple Metaselectors

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Distorion
Posts: 12
Joined: Thu Jul 19, 2012 1:58 am
Location: Canberra, Australia

Mutliple Metaselectors

Post by Distorion »

Hey,
i was wondering if it is Posiblie to have more then one Metaselector being used by a createCollisionResponseAnimator?

Thanks.
Mel
Competition winner
Posts: 2292
Joined: Wed May 07, 2008 11:40 am
Location: Granada, Spain

Re: Mutliple Metaselectors

Post by Mel »

Metaselectors inherit from TriangleSelectors, only to be able to store multiple selectors inside, so you can store all the metaselectors you needed inside a single metaselector, and that should work, at least, theoretically, but it is simpler to have all the needed selectors inside a big metaselector.

What i wonder is if Metaselectors do apply hierarchical selections, so if a point is outside the bounding box of a selector, it isn't tested.
"There is nothing truly useless, it always serves as a bad example". Arthur A. Schmitt
Post Reply