diff options
Diffstat (limited to 'OpenSim/Region/OptionalModules/Scripting/Minimodule/Object/IObjectPhysics.cs')
-rw-r--r-- | OpenSim/Region/OptionalModules/Scripting/Minimodule/Object/IObjectPhysics.cs | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/Object/IObjectPhysics.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/Object/IObjectPhysics.cs index aaa95e5..9035db9 100644 --- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/Object/IObjectPhysics.cs +++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/Object/IObjectPhysics.cs | |||
@@ -5,25 +5,27 @@ using OpenMetaverse; | |||
5 | 5 | ||
6 | namespace OpenSim.Region.OptionalModules.Scripting.Minimodule.Object | 6 | namespace OpenSim.Region.OptionalModules.Scripting.Minimodule.Object |
7 | { | 7 | { |
8 | interface IObjectPhysics | 8 | public interface IObjectPhysics |
9 | { | 9 | { |
10 | bool Enabled { get; set; } | 10 | bool Enabled { get; set; } |
11 | |||
11 | bool Phantom { get; set; } | 12 | bool Phantom { get; set; } |
12 | bool PhantomCollisions { get; set; } | 13 | bool PhantomCollisions { get; set; } |
13 | 14 | ||
14 | double Density { get; set; } | 15 | double Density { get; set; } |
15 | double Mass { get; set; } | 16 | double Mass { get; set; } |
16 | |||
17 | double Buoyancy { get; set; } | 17 | double Buoyancy { get; set; } |
18 | 18 | ||
19 | Vector3 GeometricCenter { get; } | 19 | Vector3 GeometricCenter { get; } |
20 | Vector3 CenterOfMass { get; } | 20 | Vector3 CenterOfMass { get; } |
21 | |||
22 | Vector3 RotationalVelocity { get; set; } | ||
21 | Vector3 Velocity { get; set; } | 23 | Vector3 Velocity { get; set; } |
22 | Vector3 Torque { get; set; } | 24 | Vector3 Torque { get; set; } |
23 | |||
24 | Vector3 Acceleration { get; } | 25 | Vector3 Acceleration { get; } |
25 | Quaternion Orientation { get; set; } | 26 | Vector3 Force { get; set; } |
26 | Vector3 RotationalVelocity { get; set; } | 27 | |
28 | bool FloatOnWater { set; } | ||
27 | 29 | ||
28 | void AddForce(Vector3 force, bool pushforce); | 30 | void AddForce(Vector3 force, bool pushforce); |
29 | void AddAngularForce(Vector3 force, bool pushforce); | 31 | void AddAngularForce(Vector3 force, bool pushforce); |