diff options
author | MW | 2007-03-10 20:30:25 +0000 |
---|---|---|
committer | MW | 2007-03-10 20:30:25 +0000 |
commit | 76569ff4fba09f22ed4a06b8073deaed7f64a2e3 (patch) | |
tree | f83430652d8874f299733f505b6b7ded13910bb8 /src/physics/PhysicsManager.cs | |
parent | Another attempt to fix the project files (diff) | |
download | opensim-SC_OLD-76569ff4fba09f22ed4a06b8073deaed7f64a2e3.zip opensim-SC_OLD-76569ff4fba09f22ed4a06b8073deaed7f64a2e3.tar.gz opensim-SC_OLD-76569ff4fba09f22ed4a06b8073deaed7f64a2e3.tar.bz2 opensim-SC_OLD-76569ff4fba09f22ed4a06b8073deaed7f64a2e3.tar.xz |
A PhysX physics plugin (that actually uses physX now but currently only works on windows)
Can now change direction when walking without stopping
Flying works when using the Physx dll
Diffstat (limited to 'src/physics/PhysicsManager.cs')
-rw-r--r-- | src/physics/PhysicsManager.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/physics/PhysicsManager.cs b/src/physics/PhysicsManager.cs index 0986501..e5d5bd6 100644 --- a/src/physics/PhysicsManager.cs +++ b/src/physics/PhysicsManager.cs | |||
@@ -110,6 +110,8 @@ namespace PhysicsSystem | |||
110 | { | 110 | { |
111 | public abstract PhysicsActor AddAvatar(PhysicsVector position); | 111 | public abstract PhysicsActor AddAvatar(PhysicsVector position); |
112 | 112 | ||
113 | public abstract PhysicsActor AddPrim(PhysicsVector position, PhysicsVector size); | ||
114 | |||
113 | public abstract void Simulate(float timeStep); | 115 | public abstract void Simulate(float timeStep); |
114 | 116 | ||
115 | public abstract void GetResults(); | 117 | public abstract void GetResults(); |
@@ -140,6 +142,11 @@ namespace PhysicsSystem | |||
140 | { | 142 | { |
141 | get; | 143 | get; |
142 | } | 144 | } |
145 | public abstract bool Flying | ||
146 | { | ||
147 | get; | ||
148 | set; | ||
149 | } | ||
143 | 150 | ||
144 | public abstract void AddForce(PhysicsVector force); | 151 | public abstract void AddForce(PhysicsVector force); |
145 | 152 | ||