abhinandan
17-09-2006 18:08:33
As I have seen in samples on nxogre, the NXOgre scene manager itself manages the scene is there any way in which we can handle scene in ogre scene manager and nxogre plays role on physics of the application
thank you in advance
Abhinandan
betajaen
17-09-2006 18:45:26
Do you mean merge the roles together?
abhinandan
18-09-2006 04:54:24
not exactly but I am trying to use nxogre only to handle physics
betajaen
18-09-2006 08:54:12
I'm not sure exactly what you want, NxOgre handles the physics.
Please restate your problem more clearly.
abhinandan
18-09-2006 11:39:09
actually I wanto load mesh files seperatetly and bind it to physics (at present i need to create a body for that and which will take mesh file name and scene so the mesh is loaded twice)
betajaen
18-09-2006 12:36:27
Nope, it's not possible. Meshs well meshShapes need to be attached to an NxActor or body and they are loaded once not twice.
If you want it to be automated then you should create the body when/if you load the meshes from a positioning file on disk.
Edit:
I'll meet you half way and create a new function:
scene::createStaticBody(meshName, pose);