diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/OptionalModules/Scripting/Minimodule/Object/IObjectPhysics.cs | 78 |
1 files changed, 39 insertions, 39 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/Object/IObjectPhysics.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/Object/IObjectPhysics.cs index 6ca4e5f..3682e9b 100644 --- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/Object/IObjectPhysics.cs +++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/Object/IObjectPhysics.cs | |||
@@ -1,39 +1,39 @@ | |||
1 | using System; | 1 | using System; |
2 | using System.Collections.Generic; | 2 | using System.Collections.Generic; |
3 | using System.Text; | 3 | using System.Text; |
4 | using OpenMetaverse; | 4 | using OpenMetaverse; |
5 | 5 | ||
6 | namespace OpenSim.Region.OptionalModules.Scripting.Minimodule.Object | 6 | namespace OpenSim.Region.OptionalModules.Scripting.Minimodule.Object |
7 | { | 7 | { |
8 | /// <summary> | 8 | /// <summary> |
9 | /// This implements an interface similar to that provided by physics engines to OpenSim internally. | 9 | /// This implements an interface similar to that provided by physics engines to OpenSim internally. |
10 | /// Eg, PhysicsActor. It is capable of setting and getting properties related to the current | 10 | /// Eg, PhysicsActor. It is capable of setting and getting properties related to the current |
11 | /// physics scene representation of this object. | 11 | /// physics scene representation of this object. |
12 | /// </summary> | 12 | /// </summary> |
13 | public interface IObjectPhysics | 13 | public interface IObjectPhysics |
14 | { | 14 | { |
15 | bool Enabled { get; set; } | 15 | bool Enabled { get; set; } |
16 | 16 | ||
17 | bool Phantom { get; set; } | 17 | bool Phantom { get; set; } |
18 | bool PhantomCollisions { get; set; } | 18 | bool PhantomCollisions { get; set; } |
19 | 19 | ||
20 | double Density { get; set; } | 20 | double Density { get; set; } |
21 | double Mass { get; set; } | 21 | double Mass { get; set; } |
22 | double Buoyancy { get; set; } | 22 | double Buoyancy { get; set; } |
23 | 23 | ||
24 | Vector3 GeometricCenter { get; } | 24 | Vector3 GeometricCenter { get; } |
25 | Vector3 CenterOfMass { get; } | 25 | Vector3 CenterOfMass { get; } |
26 | 26 | ||
27 | Vector3 RotationalVelocity { get; set; } | 27 | Vector3 RotationalVelocity { get; set; } |
28 | Vector3 Velocity { get; set; } | 28 | Vector3 Velocity { get; set; } |
29 | Vector3 Torque { get; set; } | 29 | Vector3 Torque { get; set; } |
30 | Vector3 Acceleration { get; } | 30 | Vector3 Acceleration { get; } |
31 | Vector3 Force { get; set; } | 31 | Vector3 Force { get; set; } |
32 | 32 | ||
33 | bool FloatOnWater { set; } | 33 | bool FloatOnWater { set; } |
34 | 34 | ||
35 | void AddForce(Vector3 force, bool pushforce); | 35 | void AddForce(Vector3 force, bool pushforce); |
36 | void AddAngularForce(Vector3 force, bool pushforce); | 36 | void AddAngularForce(Vector3 force, bool pushforce); |
37 | void SetMomentum(Vector3 momentum); | 37 | void SetMomentum(Vector3 momentum); |
38 | } | 38 | } |
39 | } | 39 | } |