aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/OptionalModules')
-rw-r--r--OpenSim/Region/OptionalModules/Scripting/Minimodule/Object/IObjectPhysics.cs32
1 files changed, 32 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/Object/IObjectPhysics.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/Object/IObjectPhysics.cs
new file mode 100644
index 0000000..aaa95e5
--- /dev/null
+++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/Object/IObjectPhysics.cs
@@ -0,0 +1,32 @@
1using System;
2using System.Collections.Generic;
3using System.Text;
4using OpenMetaverse;
5
6namespace OpenSim.Region.OptionalModules.Scripting.Minimodule.Object
7{
8 interface IObjectPhysics
9 {
10 bool Enabled { get; set; }
11 bool Phantom { get; set; }
12 bool PhantomCollisions { get; set; }
13
14 double Density { get; set; }
15 double Mass { get; set; }
16
17 double Buoyancy { get; set; }
18
19 Vector3 GeometricCenter { get; }
20 Vector3 CenterOfMass { get; }
21 Vector3 Velocity { get; set; }
22 Vector3 Torque { get; set; }
23
24 Vector3 Acceleration { get; }
25 Quaternion Orientation { get; set; }
26 Vector3 RotationalVelocity { get; set; }
27
28 void AddForce(Vector3 force, bool pushforce);
29 void AddAngularForce(Vector3 force, bool pushforce);
30 void SetMomentum(Vector3 momentum);
31 }
32}