zrixter
05-04-2008 17:35:22
Hi seniors, i'm new to nxogre and i got problem with change the material for shape. I using NxOgre 0.9. Physx SDKs 2.7.3.
my code:
mScene->createBody("cube.1m.smooth.mesh", new CubeShape(1,"material: nx.lava"), Vector3(2), "mass: 10");
According to the tutorials i should able to attach nx.lava material on the cube, but it remain yellow colour in my screen. I double checked the NxOgreShape.h and i make sure the params is correct.
Any idea? Thanks in advanced.
my code:
mScene->createBody("cube.1m.smooth.mesh", new CubeShape(1,"material: nx.lava"), Vector3(2), "mass: 10");
According to the tutorials i should able to attach nx.lava material on the cube, but it remain yellow colour in my screen. I double checked the NxOgreShape.h and i make sure the params is correct.
Any idea? Thanks in advanced.