ghiboz
11-05-2007 16:37:09
hi again!
if I create a body like this:
and after I wish change the texture of this body...
how can I do this?
regards!
if I create a body like this:
nxOgre::body *myCube2 = mScene->createBody(
"myCube2",
"cube.1m.mesh",
new nxOgre::cubeShape(1),
1.5f,
nxOgre::pose(
Vector3(-2.5,7.5,2.5),
Quaternion(Radian(Degree(55)),Vector3::UNIT_Y)
)
);
and after I wish change the texture of this body...
how can I do this?
regards!