Search found 2 matches

by slayeriq
Mon Jun 20, 2011 10:27 am
Forum: Questions and Help
Topic: CompoundBody drawing
Replies: 3
Views: 2905

Re: CompoundBody drawing

So it will be compoundBody.worldTransform*compoundShapeEntry.localTransform.matrix, compoundBody being the parent of compoundShapeEntry. EDIT: I am using ShapeEntry.LocalTransform.Matrix* CompoundBody.WorldTransform as worldmatrix now the objects draw but not at the actual position. Do i have to add...
by slayeriq
Sun Jun 19, 2011 9:50 pm
Forum: Questions and Help
Topic: CompoundBody drawing
Replies: 3
Views: 2905

CompoundBody drawing

Hello, I am trying to draw a compound body, I have a couple of models of which I calculate a BoxShape and I add it together to form a compound body. The problem is now drawing every single model I am using CompoundShapeEntry.LocalTransform.Matrix as WorldMatrix when drawing, but its always the same....