diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Physics/Manager/PhysicsScene.cs | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/Manager/PhysicsScene.cs b/OpenSim/Region/Physics/Manager/PhysicsScene.cs index ce269fa..c07213e 100644 --- a/OpenSim/Region/Physics/Manager/PhysicsScene.cs +++ b/OpenSim/Region/Physics/Manager/PhysicsScene.cs | |||
@@ -127,8 +127,10 @@ namespace OpenSim.Region.Physics.Manager | |||
127 | /// <param name="size"></param> | 127 | /// <param name="size"></param> |
128 | /// <param name="isFlying"></param> | 128 | /// <param name="isFlying"></param> |
129 | /// <returns></returns> | 129 | /// <returns></returns> |
130 | public abstract PhysicsActor AddAvatar(string avName, Vector3 position, Vector3 size, bool isFlying); | 130 | public virtual PhysicsActor AddAvatar(string avName, Vector3 position, Vector3 size, bool isFlying) |
131 | 131 | { | |
132 | return null; | ||
133 | } | ||
132 | /// <summary> | 134 | /// <summary> |
133 | /// Add an avatar | 135 | /// Add an avatar |
134 | /// </summary> | 136 | /// </summary> |
@@ -145,6 +147,18 @@ namespace OpenSim.Region.Physics.Manager | |||
145 | return ret; | 147 | return ret; |
146 | } | 148 | } |
147 | 149 | ||
150 | public virtual PhysicsActor AddAvatar(string avName, Vector3 position, Vector3 size,float feetOffset, bool isFlying) | ||
151 | { | ||
152 | return null; | ||
153 | } | ||
154 | |||
155 | public virtual PhysicsActor AddAvatar(uint localID,string avName, Vector3 position, Vector3 size, float feetOffset, bool isFlying) | ||
156 | { | ||
157 | PhysicsActor ret = AddAvatar(avName, position, size,feetOffset, isFlying); | ||
158 | if (ret != null) ret.LocalID = localID; | ||
159 | return ret; | ||
160 | } | ||
161 | |||
148 | /// <summary> | 162 | /// <summary> |
149 | /// Remove an avatar. | 163 | /// Remove an avatar. |
150 | /// </summary> | 164 | /// </summary> |