diff options
Diffstat (limited to 'OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsActor.cs')
-rw-r--r-- | OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsActor.cs | 303 |
1 files changed, 0 insertions, 303 deletions
diff --git a/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsActor.cs b/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsActor.cs deleted file mode 100644 index 43fba7b..0000000 --- a/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsActor.cs +++ /dev/null | |||
@@ -1,303 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (c) Contributors, http://opensimulator.org/ | ||
3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions are met: | ||
7 | * * Redistributions of source code must retain the above copyright | ||
8 | * notice, this list of conditions and the following disclaimer. | ||
9 | * * Redistributions in binary form must reproduce the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer in the | ||
11 | * documentation and/or other materials provided with the distribution. | ||
12 | * * Neither the name of the OpenSimulator Project nor the | ||
13 | * names of its contributors may be used to endorse or promote products | ||
14 | * derived from this software without specific prior written permission. | ||
15 | * | ||
16 | * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY | ||
17 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
18 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
19 | * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY | ||
20 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
21 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
22 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
23 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
24 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
26 | */ | ||
27 | |||
28 | using System; | ||
29 | using System.Collections.Generic; | ||
30 | using Nini.Config; | ||
31 | using OpenMetaverse; | ||
32 | using OpenSim.Framework; | ||
33 | using OpenSim.Region.Physics.Manager; | ||
34 | |||
35 | namespace OpenSim.Region.Physics.BasicPhysicsPlugin | ||
36 | { | ||
37 | public class BasicActor : PhysicsActor | ||
38 | { | ||
39 | public BasicActor(Vector3 size) | ||
40 | { | ||
41 | Size = size; | ||
42 | } | ||
43 | |||
44 | public override int PhysicsActorType | ||
45 | { | ||
46 | get { return (int) ActorTypes.Agent; } | ||
47 | set { return; } | ||
48 | } | ||
49 | |||
50 | public override Vector3 RotationalVelocity { get; set; } | ||
51 | |||
52 | public override bool SetAlwaysRun | ||
53 | { | ||
54 | get { return false; } | ||
55 | set { return; } | ||
56 | } | ||
57 | |||
58 | public override uint LocalID | ||
59 | { | ||
60 | set { return; } | ||
61 | } | ||
62 | |||
63 | public override bool Grabbed | ||
64 | { | ||
65 | set { return; } | ||
66 | } | ||
67 | |||
68 | public override bool Selected | ||
69 | { | ||
70 | set { return; } | ||
71 | } | ||
72 | |||
73 | public override float Buoyancy | ||
74 | { | ||
75 | get { return 0f; } | ||
76 | set { return; } | ||
77 | } | ||
78 | |||
79 | public override bool FloatOnWater | ||
80 | { | ||
81 | set { return; } | ||
82 | } | ||
83 | |||
84 | public override bool IsPhysical | ||
85 | { | ||
86 | get { return false; } | ||
87 | set { return; } | ||
88 | } | ||
89 | |||
90 | public override bool ThrottleUpdates | ||
91 | { | ||
92 | get { return false; } | ||
93 | set { return; } | ||
94 | } | ||
95 | |||
96 | public override bool Flying { get; set; } | ||
97 | |||
98 | public override bool IsColliding { get; set; } | ||
99 | |||
100 | public override bool CollidingGround | ||
101 | { | ||
102 | get { return false; } | ||
103 | set { return; } | ||
104 | } | ||
105 | |||
106 | public override bool CollidingObj | ||
107 | { | ||
108 | get { return false; } | ||
109 | set { return; } | ||
110 | } | ||
111 | |||
112 | public override bool Stopped | ||
113 | { | ||
114 | get { return false; } | ||
115 | } | ||
116 | |||
117 | public override Vector3 Position { get; set; } | ||
118 | |||
119 | public override Vector3 Size { get; set; } | ||
120 | |||
121 | public override PrimitiveBaseShape Shape | ||
122 | { | ||
123 | set { return; } | ||
124 | } | ||
125 | |||
126 | public override float Mass | ||
127 | { | ||
128 | get { return 0f; } | ||
129 | } | ||
130 | |||
131 | public override Vector3 Force | ||
132 | { | ||
133 | get { return Vector3.Zero; } | ||
134 | set { return; } | ||
135 | } | ||
136 | |||
137 | public override int VehicleType | ||
138 | { | ||
139 | get { return 0; } | ||
140 | set { return; } | ||
141 | } | ||
142 | |||
143 | public override void VehicleFloatParam(int param, float value) | ||
144 | { | ||
145 | |||
146 | } | ||
147 | |||
148 | public override void VehicleVectorParam(int param, Vector3 value) | ||
149 | { | ||
150 | |||
151 | } | ||
152 | |||
153 | public override void VehicleRotationParam(int param, Quaternion rotation) | ||
154 | { | ||
155 | |||
156 | } | ||
157 | |||
158 | public override void VehicleFlags(int param, bool remove) | ||
159 | { | ||
160 | |||
161 | } | ||
162 | |||
163 | public override void SetVolumeDetect(int param) | ||
164 | { | ||
165 | |||
166 | } | ||
167 | |||
168 | public override Vector3 CenterOfMass | ||
169 | { | ||
170 | get { return Vector3.Zero; } | ||
171 | } | ||
172 | |||
173 | public override Vector3 GeometricCenter | ||
174 | { | ||
175 | get { return Vector3.Zero; } | ||
176 | } | ||
177 | |||
178 | public override Vector3 Velocity { get; set; } | ||
179 | |||
180 | public override Vector3 Torque | ||
181 | { | ||
182 | get { return Vector3.Zero; } | ||
183 | set { return; } | ||
184 | } | ||
185 | |||
186 | public override float CollisionScore | ||
187 | { | ||
188 | get { return 0f; } | ||
189 | set { } | ||
190 | } | ||
191 | |||
192 | public override Quaternion Orientation | ||
193 | { | ||
194 | get { return Quaternion.Identity; } | ||
195 | set { } | ||
196 | } | ||
197 | |||
198 | public override Vector3 Acceleration { get; set; } | ||
199 | |||
200 | public override bool Kinematic | ||
201 | { | ||
202 | get { return true; } | ||
203 | set { } | ||
204 | } | ||
205 | |||
206 | public override void link(PhysicsActor obj) | ||
207 | { | ||
208 | } | ||
209 | |||
210 | public override void delink() | ||
211 | { | ||
212 | } | ||
213 | |||
214 | public override void LockAngularMotion(Vector3 axis) | ||
215 | { | ||
216 | } | ||
217 | |||
218 | public override void AddForce(Vector3 force, bool pushforce) | ||
219 | { | ||
220 | } | ||
221 | |||
222 | public override void AddAngularForce(Vector3 force, bool pushforce) | ||
223 | { | ||
224 | } | ||
225 | |||
226 | public override void SetMomentum(Vector3 momentum) | ||
227 | { | ||
228 | } | ||
229 | |||
230 | public override void CrossingFailure() | ||
231 | { | ||
232 | } | ||
233 | |||
234 | public override Vector3 PIDTarget | ||
235 | { | ||
236 | set { return; } | ||
237 | } | ||
238 | |||
239 | public override bool PIDActive | ||
240 | { | ||
241 | get { return false; } | ||
242 | set { return; } | ||
243 | } | ||
244 | |||
245 | public override float PIDTau | ||
246 | { | ||
247 | set { return; } | ||
248 | } | ||
249 | |||
250 | public override float PIDHoverHeight | ||
251 | { | ||
252 | set { return; } | ||
253 | } | ||
254 | |||
255 | public override bool PIDHoverActive | ||
256 | { | ||
257 | set { return; } | ||
258 | } | ||
259 | |||
260 | public override PIDHoverType PIDHoverType | ||
261 | { | ||
262 | set { return; } | ||
263 | } | ||
264 | |||
265 | public override float PIDHoverTau | ||
266 | { | ||
267 | set { return; } | ||
268 | } | ||
269 | |||
270 | public override Quaternion APIDTarget | ||
271 | { | ||
272 | set { return; } | ||
273 | } | ||
274 | |||
275 | public override bool APIDActive | ||
276 | { | ||
277 | set { return; } | ||
278 | } | ||
279 | |||
280 | public override float APIDStrength | ||
281 | { | ||
282 | set { return; } | ||
283 | } | ||
284 | |||
285 | public override float APIDDamping | ||
286 | { | ||
287 | set { return; } | ||
288 | } | ||
289 | |||
290 | public override void SubscribeEvents(int ms) | ||
291 | { | ||
292 | } | ||
293 | |||
294 | public override void UnSubscribeEvents() | ||
295 | { | ||
296 | } | ||
297 | |||
298 | public override bool SubscribedEvents() | ||
299 | { | ||
300 | return false; | ||
301 | } | ||
302 | } | ||
303 | } | ||