Basics of NxOgre.

scratchyrice

04-12-2007 17:17:25

Hi everyone,
I am fairly new to ogre, but have some experience in c++. I am currently trying to develop a game engine, for a game(oddly). However, i require physics in my engine, and ive decided to use NxOgre(physx) for it.

Basicly, i need to exactly how to use the commands, and what they arre.

Most importantly tho, is that i would like to know how to use my own ogre entity, with nxogre, rather than createing entitys through nxogre.

Thanks - Scratchyrice

betajaen

04-12-2007 17:20:35

Seems a little silly to me, since the entity is created for you, but:

mScene->createBody("name of body;(entity) entityname", new CubeShape(1), Vector3(0,5,0), "mass: 10");

Also read the guide if you haven't done so already -> http://www.nxogre.org/shortguide/

scratchyrice

04-12-2007 17:38:14

Seems a little silly to me, since the entity is created for you, but: i dont necceseraly want to make every entity physicaly controlled.

betajaen

04-12-2007 17:42:47

But it will be controlled physically if you give it to NxOgre.

scratchyrice

04-12-2007 18:00:36

Lol. sorry i guess ur right, But im having trouble getting intellisense working with nx atm idk why