gugus
11-06-2008 16:07:00
I would like to "freeze" an actor(stop moving and disabeling collisions) during an ActorGroup callback, and i have a strange behavior:My Actor is moving up(but he it stoped reacting to forces).
here is my code:
So i tried something else:
And I still get the same result.
What am I doing wrong?
here is my code:
pActor->disable();
So i tried something else:
pActor->raiseActorFlag(NxActorFlag::NX_AF_DISABLE_COLLISION);
pActor->raiseActorFlag(NxActorFlag::NX_AF_DISABLE_RESPONSE);
pActor->raiseBodyFlag(NxBodyFlag::NX_BF_FROZEN);
And I still get the same result.
What am I doing wrong?