~mulder-nebulon/openracing/PhysX

« back to all changes in this revision

Viewing changes to src/graphic/OCameras.cs

  • Committer: Nagy Imre
  • Date: 2009-03-14 12:52:57 UTC
  • Revision ID: mulder@codenode-20090314125257-cj2uude8ojrq72r4
Added throttle, fixed Barcelona track offset

Show diffs side-by-side

added added

removed removed

Lines of Context:
113
113
                    Vector3 p = mFollowingAvatars.GetPosition(mFollowingID);
114
114
                    Vector3 v = (o * (new Vector3(-5,0,0))) + p + new Vector3(0,1.5f,0);
115
115
                    SetPosition(v);
 
116
                    
 
117
                    if (false) Console.Out.WriteLine("CAMPOS: {0} {1} {2}  LOOKAT {3} {4} {5}", v.x, v.y, v.z, p.x, p.y, p.z);
116
118
                    LookAt(p);
117
119
                    } break;
118
120
            }