rotate a static body

alhobarata

03-04-2008 17:19:57

How can i rotate a static body? The method setGlobalOrientation() or moveGlobaOrientation() don't work properly.

betajaen

03-04-2008 17:25:59

You don't, it's static. ;)

alhobarata

03-04-2008 17:31:16

So can i use trianglemesh in dynamic body?

betajaen

03-04-2008 17:35:48

Nope. TriangleMeshes and Terrain can only be in static bodies. If you want something complicated; you can make a rough but accurate collision model using the primitives and convex in a compound shape to make up the various sections of what you want to represent.