diff options
Diffstat (limited to 'OpenSim/Region/Physics/Manager')
-rw-r--r-- | OpenSim/Region/Physics/Manager/AssemblyInfo.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/Physics/Manager/NullPhysicsScene.cs | 3 | ||||
-rw-r--r-- | OpenSim/Region/Physics/Manager/PhysicsActor.cs | 10 | ||||
-rw-r--r-- | OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs | 4 | ||||
-rw-r--r-- | OpenSim/Region/Physics/Manager/PhysicsScene.cs | 18 |
5 files changed, 28 insertions, 9 deletions
diff --git a/OpenSim/Region/Physics/Manager/AssemblyInfo.cs b/OpenSim/Region/Physics/Manager/AssemblyInfo.cs index 10e850e..33f60e4 100644 --- a/OpenSim/Region/Physics/Manager/AssemblyInfo.cs +++ b/OpenSim/Region/Physics/Manager/AssemblyInfo.cs | |||
@@ -55,4 +55,4 @@ using System.Runtime.InteropServices; | |||
55 | // You can specify all values by your own or you can build default build and revision | 55 | // You can specify all values by your own or you can build default build and revision |
56 | // numbers with the '*' character (the default): | 56 | // numbers with the '*' character (the default): |
57 | 57 | ||
58 | [assembly : AssemblyVersion("0.8.0.*")] | 58 | [assembly : AssemblyVersion("0.8.2.*")] |
diff --git a/OpenSim/Region/Physics/Manager/NullPhysicsScene.cs b/OpenSim/Region/Physics/Manager/NullPhysicsScene.cs index 1ccf46d..b52f1f6 100644 --- a/OpenSim/Region/Physics/Manager/NullPhysicsScene.cs +++ b/OpenSim/Region/Physics/Manager/NullPhysicsScene.cs | |||
@@ -45,7 +45,8 @@ namespace OpenSim.Region.Physics.Manager | |||
45 | // Does nothing right now | 45 | // Does nothing right now |
46 | } | 46 | } |
47 | 47 | ||
48 | public override PhysicsActor AddAvatar(string avName, Vector3 position, Vector3 size, bool isFlying) | 48 | public override PhysicsActor AddAvatar( |
49 | string avName, Vector3 position, Vector3 velocity, Vector3 size, bool isFlying) | ||
49 | { | 50 | { |
50 | m_log.InfoFormat("[PHYSICS]: NullPhysicsScene : AddAvatar({0})", position); | 51 | m_log.InfoFormat("[PHYSICS]: NullPhysicsScene : AddAvatar({0})", position); |
51 | return PhysicsActor.Null; | 52 | return PhysicsActor.Null; |
diff --git a/OpenSim/Region/Physics/Manager/PhysicsActor.cs b/OpenSim/Region/Physics/Manager/PhysicsActor.cs index 44bfd42..60f6480 100644 --- a/OpenSim/Region/Physics/Manager/PhysicsActor.cs +++ b/OpenSim/Region/Physics/Manager/PhysicsActor.cs | |||
@@ -386,7 +386,7 @@ namespace OpenSim.Region.Physics.Manager | |||
386 | 386 | ||
387 | // Used for MoveTo | 387 | // Used for MoveTo |
388 | public abstract Vector3 PIDTarget { set; } | 388 | public abstract Vector3 PIDTarget { set; } |
389 | public abstract bool PIDActive { set;} | 389 | public abstract bool PIDActive { get; set; } |
390 | public abstract float PIDTau { set; } | 390 | public abstract float PIDTau { set; } |
391 | 391 | ||
392 | // Used for llSetHoverHeight and maybe vehicle height | 392 | // Used for llSetHoverHeight and maybe vehicle height |
@@ -611,7 +611,13 @@ namespace OpenSim.Region.Physics.Manager | |||
611 | } | 611 | } |
612 | 612 | ||
613 | public override Vector3 PIDTarget { set { return; } } | 613 | public override Vector3 PIDTarget { set { return; } } |
614 | public override bool PIDActive { set { return; } } | 614 | |
615 | public override bool PIDActive | ||
616 | { | ||
617 | get { return false; } | ||
618 | set { return; } | ||
619 | } | ||
620 | |||
615 | public override float PIDTau { set { return; } } | 621 | public override float PIDTau { set { return; } } |
616 | 622 | ||
617 | public override float PIDHoverHeight { set { return; } } | 623 | public override float PIDHoverHeight { set { return; } } |
diff --git a/OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs b/OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs index d14edfd..ddbe80b 100644 --- a/OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs +++ b/OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs | |||
@@ -180,7 +180,7 @@ namespace OpenSim.Region.Physics.Manager | |||
180 | { | 180 | { |
181 | if (!pluginType.IsAbstract) | 181 | if (!pluginType.IsAbstract) |
182 | { | 182 | { |
183 | Type physTypeInterface = pluginType.GetInterface("IPhysicsPlugin", true); | 183 | Type physTypeInterface = pluginType.GetInterface("IPhysicsPlugin"); |
184 | 184 | ||
185 | if (physTypeInterface != null) | 185 | if (physTypeInterface != null) |
186 | { | 186 | { |
@@ -194,7 +194,7 @@ namespace OpenSim.Region.Physics.Manager | |||
194 | } | 194 | } |
195 | } | 195 | } |
196 | 196 | ||
197 | Type meshTypeInterface = pluginType.GetInterface("IMeshingPlugin", true); | 197 | Type meshTypeInterface = pluginType.GetInterface("IMeshingPlugin"); |
198 | 198 | ||
199 | if (meshTypeInterface != null) | 199 | if (meshTypeInterface != null) |
200 | { | 200 | { |
diff --git a/OpenSim/Region/Physics/Manager/PhysicsScene.cs b/OpenSim/Region/Physics/Manager/PhysicsScene.cs index 4f4ff07..96ef0a6 100644 --- a/OpenSim/Region/Physics/Manager/PhysicsScene.cs +++ b/OpenSim/Region/Physics/Manager/PhysicsScene.cs | |||
@@ -148,26 +148,38 @@ namespace OpenSim.Region.Physics.Manager | |||
148 | /// </summary> | 148 | /// </summary> |
149 | /// <param name="avName"></param> | 149 | /// <param name="avName"></param> |
150 | /// <param name="position"></param> | 150 | /// <param name="position"></param> |
151 | /// <param name="velocity"></param> | ||
151 | /// <param name="size"></param> | 152 | /// <param name="size"></param> |
152 | /// <param name="isFlying"></param> | 153 | /// <param name="isFlying"></param> |
153 | /// <returns></returns> | 154 | /// <returns></returns> |
155 | <<<<<<< HEAD | ||
156 | public abstract PhysicsActor AddAvatar( | ||
157 | string avName, Vector3 position, Vector3 velocity, Vector3 size, bool isFlying); | ||
158 | |||
159 | ======= | ||
154 | public virtual PhysicsActor AddAvatar(string avName, Vector3 position, Vector3 size, bool isFlying) | 160 | public virtual PhysicsActor AddAvatar(string avName, Vector3 position, Vector3 size, bool isFlying) |
155 | { | 161 | { |
156 | return null; | 162 | return null; |
157 | } | 163 | } |
164 | >>>>>>> avn/ubitvar | ||
158 | /// <summary> | 165 | /// <summary> |
159 | /// Add an avatar | 166 | /// Add an avatar |
160 | /// </summary> | 167 | /// </summary> |
161 | /// <param name="localID"></param> | 168 | /// <param name="localID"></param> |
162 | /// <param name="avName"></param> | 169 | /// <param name="avName"></param> |
163 | /// <param name="position"></param> | 170 | /// <param name="position"></param> |
171 | /// <param name="velocity"></param> | ||
164 | /// <param name="size"></param> | 172 | /// <param name="size"></param> |
165 | /// <param name="isFlying"></param> | 173 | /// <param name="isFlying"></param> |
166 | /// <returns></returns> | 174 | /// <returns></returns> |
167 | public virtual PhysicsActor AddAvatar(uint localID, string avName, Vector3 position, Vector3 size, bool isFlying) | 175 | public virtual PhysicsActor AddAvatar( |
176 | uint localID, string avName, Vector3 position, Vector3 velocity, Vector3 size, bool isFlying) | ||
168 | { | 177 | { |
169 | PhysicsActor ret = AddAvatar(avName, position, size, isFlying); | 178 | PhysicsActor ret = AddAvatar(avName, position, velocity, size, isFlying); |
170 | if (ret != null) ret.LocalID = localID; | 179 | |
180 | if (ret != null) | ||
181 | ret.LocalID = localID; | ||
182 | |||
171 | return ret; | 183 | return ret; |
172 | } | 184 | } |
173 | 185 | ||