diff options
Diffstat (limited to 'OpenSim/Region/Physics/Manager/PhysicsActor.cs')
-rw-r--r-- | OpenSim/Region/Physics/Manager/PhysicsActor.cs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/Manager/PhysicsActor.cs b/OpenSim/Region/Physics/Manager/PhysicsActor.cs index 0587054..e1a68be 100644 --- a/OpenSim/Region/Physics/Manager/PhysicsActor.cs +++ b/OpenSim/Region/Physics/Manager/PhysicsActor.cs | |||
@@ -68,6 +68,17 @@ namespace OpenSim.Region.Physics.Manager | |||
68 | } | 68 | } |
69 | } | 69 | } |
70 | 70 | ||
71 | public struct ContactData | ||
72 | { | ||
73 | public float mu; | ||
74 | public float bounce; | ||
75 | |||
76 | public ContactData(float _mu, float _bounce) | ||
77 | { | ||
78 | mu = _mu; | ||
79 | bounce = _bounce; | ||
80 | } | ||
81 | } | ||
71 | /// <summary> | 82 | /// <summary> |
72 | /// Used to pass collision information to OnCollisionUpdate listeners. | 83 | /// Used to pass collision information to OnCollisionUpdate listeners. |
73 | /// </summary> | 84 | /// </summary> |
@@ -143,6 +154,14 @@ namespace OpenSim.Region.Physics.Manager | |||
143 | get { return new NullPhysicsActor(); } | 154 | get { return new NullPhysicsActor(); } |
144 | } | 155 | } |
145 | 156 | ||
157 | |||
158 | public virtual bool Building { get; set; } | ||
159 | |||
160 | public virtual ContactData ContactData | ||
161 | { | ||
162 | get { return new ContactData(0, 0); } | ||
163 | } | ||
164 | |||
146 | public abstract bool Stopped { get; } | 165 | public abstract bool Stopped { get; } |
147 | 166 | ||
148 | public abstract Vector3 Size { get; set; } | 167 | public abstract Vector3 Size { get; set; } |