dest
09-04-2008 18:18:42
Okay this may be a stupid question but I can't seem to figure it out. I have a cylinder collision shape and I'm attaching it to a sceneNode, but as you can see below it's not aligned correctly with the graphics -
I've tried translating the sceneNode to make the two match up but the body seems to move with it (I thought this wasn't meant to happen?). Ive also tryed using getPositionOrientation() and setPositionOrientation() on the body too move it into sync with the graphics, but no luck.
Any help would be much appreciated, though I'm probably just missing something stupid. Cheers!
I've tried translating the sceneNode to make the two match up but the body seems to move with it (I thought this wasn't meant to happen?). Ive also tryed using getPositionOrientation() and setPositionOrientation() on the body too move it into sync with the graphics, but no luck.
Any help would be much appreciated, though I'm probably just missing something stupid. Cheers!