I have a node moving at a velocity, The problem is that velocity is in world coordinates I would like it relative to the ship as if the ship were at the origin(0,0,0) below is what I have tried to do but its not quite right yet:
position doesnt affect velocity, so "worldVel+=myNode.getAbsolutePosition();" needs removing. myNode->getAbsoluteTransformation().inverseRotateVect(worldVel) should work even if your node is a child of another rotated node, and is one less call to "new"