slope

AfyDriver

13-09-2011 09:42:27

I HAVE a street that has a slope in the game .. how make the slope ?? :arrow: :?:
What solutions do you propose ?? :oops: :oops:

betajaen

13-09-2011 11:18:26

What?

AfyDriver

13-09-2011 12:29:19

sry for my ENGLISH
i have street in my game , the street like a ramp ! o.k ???
the problem is, i cant set actors in Slope objects !!!
the mesh of street is Slope ... when i create body for this mesh with this code :

Critter::KinematicBody *bodySt3 = mRenderSystem->
createKinematicBody(NxOgre::BoxDescription(NxOgre::Vec3(120,1,1000)),NxOgre::Matrix44::IDENTITY,"street.mesh");


the body is not slope ... the body is cube :(

solution ???

betajaen

13-09-2011 15:06:43

Yes it is a cube, because you've said to make it a cube.

AfyDriver

13-09-2011 15:46:18

What do you propose to build a ramp ??
it's very important for me !
:roll: Please complete answer

betajaen

13-09-2011 19:07:44

You would have to use a Convex or TriangleMesh.