what are and how can i use DominanceGroups?

Artic_Ice83

01-03-2008 15:59:01

like the title, what are and how can i use DominanceGroups?
i know that i can create a dominance group by the NxOgre scene and also that i can associate a body or actor to a dominance group putting the string "dominancegroup: 0" in the actor params, but maybe i am missing something...

betajaen

01-03-2008 18:32:41

or

Or do you want me to copy and paste the page in? :roll:

Aiursrage2k

01-03-2008 18:38:06

DominanceGroups allow you to make particular actors 'dominate'.

An example might be:
If you had a "projectile" and wanted it to knock over some "boxes", but not have the projectile" be effected by those boxes then you would make "projectile" the dominate actor.

Aside from setting have set the actors body dominace group you need to set
NxScene::setDominanceGroupPair

Artic_Ice83

01-03-2008 19:19:34

ok. thanks for the replies...i wanted just a practical example...thanks also for the suggestion of the physX doc...i forgot to saw there... :oops:
:lol: