alejandro
17-07-2007 00:49:21
how can i stop the gravity effect on the character , i try with
mplayer ->getNxController()->getActor()->raiseBodyFlag(NX_BF_DISABLE_GRAVITY);
but nop,
betajaen
17-07-2007 09:23:57
Do you read the documentation that Ageia gives you? Or even glance at the character code?
class myVectorController {
public:
void move(NxVec3 &out, NxVec3 &moveVector, NxQuat &direction, NxVec3 &g, float t, Character*) {
// With Gravity
// out = (moveVector + g) * t;
// Without Gravity
// out = (moveVector) * t;
}
};
alejandro
17-07-2007 14:55:09
thanks, i had thought that exist any method in the class.