[0.9] my character dont jump why?

Felipe

24-08-2007 16:12:34

my code

if( jump )
{
player->addMovement(NxOgre::Character::DR_Jump_Up);
}

betajaen

24-08-2007 16:13:08

Because jumping isn't implemented yet.

Felipe

24-08-2007 16:24:44

how implement this?

betajaen

24-08-2007 17:04:54

It's a little complicated, the jumping action itself is pretty easy, but you have to decide then when the character can jump next; by checking conditions i.e. Is the character still jumping, is the character falling, has the character landed yet, did the character land on something that isn't in mid-air, and so on.

It's quite complicated to get going; Such as binds into the collision reporter system, extra variables into Character, etc.

It'll be completed in 1.0 though.

Felipe

24-08-2007 18:56:29

no problem!
thanks betajaen!

jchmack

27-08-2007 13:04:00

lol beta needs to trick pottej into giving us his character class. It looks like he has a lot of his character movements down. Wall climbing, rope climbing, and yes even jumping.

http://youtube.com/watch?v=SS_8VIPGJsY

HELP US POTTEJ!!

by the way how did you guys do in that contest?

betajaen

27-08-2007 14:12:14

I believe they won; Prize for best technology.

jchmack

27-08-2007 14:49:58

I believe they won; Prize for best technology.

thats saying something about NxOgre ^^