DrawDebugCoordinateSystem( pawn.location , pawn.rotation , 50.0f, TRUE );
DrawDebugSphere ( pawn.location + (22 * Vector(pawn.rotation) ) , 2, 10, 255, 255, 255, true);
The code shows a pawn’s coordinate system, and a white sphere on the red axis.
But I need the white sphere to be drawn on the green axis.
Could somebody please show me how to get it?