[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cinvoke-svn] r135 - trunk/skorpion
From: |
will |
Subject: |
[cinvoke-svn] r135 - trunk/skorpion |
Date: |
13 Dec 2006 03:42:14 -0500 |
Author: vmy
Date: 2006-12-13 03:42:14 -0500 (Wed, 13 Dec 2006)
New Revision: 135
Modified:
trunk/skorpion/skorpion.cs
Log:
point thrusters based on velocity, not orientation
Modified: trunk/skorpion/skorpion.cs
===================================================================
--- trunk/skorpion/skorpion.cs 2006-12-13 08:39:27 UTC (rev 134)
+++ trunk/skorpion/skorpion.cs 2006-12-13 08:42:14 UTC (rev 135)
@@ -624,9 +624,9 @@
right.Normalize();
Vector3 position = s.Position + (s.Orientation * -5.5f)
+ (s.UpDirection * 10.5f);
- Vector3 orientation = new Vector3(s.Orientation.X,
s.Orientation.Y, s.Orientation.Z);
+ Vector3 orientation = new Vector3(s.Velocity.X,
s.Velocity.Y, s.Velocity.Z);
- orientation.Scale(100);
+ orientation.Scale(-10);
iThrusterParticleSystem.Update(.03F,
g_clrColor[(int)iThrusterParticleColor],
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cinvoke-svn] r135 - trunk/skorpion,
will <=