diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/ExtraPhysicsData.cs (renamed from OpenSim/Region/Framework/Scenes/Scripting/IScriptHost.cs) | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scripting/IScriptHost.cs b/OpenSim/Framework/ExtraPhysicsData.cs index f3be028..9e7334f 100644 --- a/OpenSim/Region/Framework/Scenes/Scripting/IScriptHost.cs +++ b/OpenSim/Framework/ExtraPhysicsData.cs | |||
@@ -27,20 +27,24 @@ | |||
27 | 27 | ||
28 | using OpenMetaverse; | 28 | using OpenMetaverse; |
29 | 29 | ||
30 | namespace OpenSim.Region.Framework.Scenes.Scripting | 30 | namespace OpenSim.Framework |
31 | { | 31 | { |
32 | public interface IScriptHost | 32 | public enum PhysShapeType : byte |
33 | { | 33 | { |
34 | string Name { get; set; } | 34 | prim = 0, |
35 | string Description { get; set; } | 35 | none = 1, |
36 | convex = 2, | ||
36 | 37 | ||
37 | UUID UUID { get; } | 38 | invalid = 255 // use to mark invalid data in ExtraPhysicsData |
38 | UUID OwnerID { get; } | 39 | } |
39 | UUID CreatorID { get; } | 40 | |
40 | Vector3 AbsolutePosition { get; } | 41 | public struct ExtraPhysicsData |
42 | { | ||
43 | public float Density; | ||
44 | public float GravitationModifier; | ||
45 | public float Friction; | ||
46 | public float Bounce; | ||
47 | public PhysShapeType PhysShapeType; | ||
41 | 48 | ||
42 | string SitName { get; set; } | ||
43 | string TouchName { get; set; } | ||
44 | void SetText(string text, Vector3 color, double alpha); | ||
45 | } | 49 | } |
46 | } | 50 | } |