Page 1 of 1

View 3D: Shifting Axis Location

Posted: Fri Feb 28, 2014 9:10 pm
by blakeadkins
I'm working with a View 3D graph and I basically have a 3D and I'm wondering if it is possible to put the position of the Y axis in the middle of the tube. I tried shifting all my data points, but then the graph doesn't rotate right.

Re: View 3D: Shifting Axis Location

Posted: Sat Mar 01, 2014 1:29 pm
by ArctionPasi
The Y axis is always in the edge of 3D world that is set by View3D.Dimensions. This "3D box" can show axes in the corners of the box. Dimensions.X = 100, Dimensions.Y = 50 and Dimensions.Z = 100 are the default values.

You can of course hide the walls and axes, to do some custom stuff. The chart rotates around almost the center point of the 3D box by default. You can edit the center point of rotation with View3D.Camera.Target. Setting Camera.Target.X = -50 and Target.Z = -50, the chart will rotate around the front left corner.

Re: View 3D: Shifting Axis Location

Posted: Tue Mar 04, 2014 1:41 am
by blakeadkins
Thanks!