alejandro
30-04-2007 02:30:22
i have a character, but it jump very short ,
how can i make a big jump or control the height of the jump?
maybe i can change the nxogre class, in
void character::simulateJumping() {
mMovementVector.x = mJumpVector.x;
mMovementVector.y = 9.80665 * 0.75
and change the 0.75 , but , the class should have a variable for height
Second problem :
when the charater jump , and press Forward , he dont move forward , just up direction . how can i make a parabola .
- -
- -
- -
thnks
how can i make a big jump or control the height of the jump?
maybe i can change the nxogre class, in
void character::simulateJumping() {
mMovementVector.x = mJumpVector.x;
mMovementVector.y = 9.80665 * 0.75
and change the 0.75 , but , the class should have a variable for height
Second problem :
when the charater jump , and press Forward , he dont move forward , just up direction . how can i make a parabola .
- -
- -
- -
thnks