Just looked and confused :)

Cant tell what the difference between movePivot and setting the pivotPoint
is.

Setting the pivot point works
eg
cont.pivotPoint = new Vector3D( 0, 0, 500);

Where as move pivot only works if the pivotPoint as been previously set.
Otherwise nothing changes.

If you put
_pivotZero = (_pivotPoint.x == 0) && (_pivotPoint.y == 0) && (_pivotPoint.z
== 0);
into the movePivot function then it works.

But like I said, confused as to whats/why the difference.

Just use
cont.pivotPoint = new Vector3D(..

Reply via email to