tiny capsule?

robindegen

16-04-2009 19:21:30

No matter the values i pass to Capsule, it will stay the same size (very tiny). Any fix to this? i was hoping this could be my player's collision shape. This is with NxOgre::Capsule(1000, 5000):



(i know the collision on the level isnt all that efficient yet :P )

robindegen

17-04-2009 19:32:08

yes? no? ...maybe?

alienskull

18-04-2009 02:15:03

im not sure i have an answer but i am curious about the sizes of actors in your scenes..
you said you were making a capsule.. NxOgre::Capsule(1000, 5000) which is extremely large..

you should generally assume that 1 world unit in ogre/nxogre/physx is equal to about 1 meter. If you are working at a scale of 5000 or so your game will run "apparently" slow even tho its not..

robindegen

18-04-2009 11:55:17

Nope, because for example cubes are fine:
Cubes of 1x1x1:


The capsule doesnt change size *at all*. I first put a reasonable size of 10, 40. And noticed it was really small.. i started increasing the values.. and it won't change a bit. But like i said, the cube is fine.