Red15
19-10-2008 16:23:43
Following code :
It is always rendering the cube at position 0.0.0 and it doesnt seem to be dynamic.
Also I'm a bit confused about the whole Floor parameter in the Scene, does it create a floor automatically then, but invisible ?
On a slightly other note :
What exactly does addShape on an Actor do ? Would all the shapes be 'linked' to each other and rotate / translate / collide as if they were one object ?
Versions used:
NxOgre 1.0.20 Bleeding Edge started. Working with
- PhysX => 2.8.1 (281)
- Ogre => 1.6.0 (Shoggoth)
- Hardware => Probably
- Platform => Windows (Debug)
mWorld = new NxOgre::World("timecontroller: ogre");
mScene = mWorld->createScene("PhysicalWorld","renderer:ogre, controller: accumulator, gravity: yes, floor: yes");
NxOgre::Actor *mBouncer;
mBouncer = mScene->createBody("Cube01;cube.1m.mesh", new NxOgre::Cube(1.0), Ogre::Vector3(3,3,3), "mass: 10");
It is always rendering the cube at position 0.0.0 and it doesnt seem to be dynamic.
Also I'm a bit confused about the whole Floor parameter in the Scene, does it create a floor automatically then, but invisible ?
On a slightly other note :
What exactly does addShape on an Actor do ? Would all the shapes be 'linked' to each other and rotate / translate / collide as if they were one object ?
Versions used:
NxOgre 1.0.20 Bleeding Edge started. Working with
- PhysX => 2.8.1 (281)
- Ogre => 1.6.0 (Shoggoth)
- Hardware => Probably
- Platform => Windows (Debug)