aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorubit2012-12-17 02:43:59 +0100
committerubit2012-12-17 02:43:59 +0100
commite4fd63e402eef83f73585f036a44aa43b159cbd2 (patch)
tree6784cca836acbceb4eb51cd471747ae3399e8ac8 /OpenSim
parentMerge branch 'ubitwork' of ssh://3dhosting.de/var/git/careminster into ubitwork (diff)
parent*TESTP unscripted sit: missing files (diff)
downloadopensim-SC-e4fd63e402eef83f73585f036a44aa43b159cbd2.zip
opensim-SC-e4fd63e402eef83f73585f036a44aa43b159cbd2.tar.gz
opensim-SC-e4fd63e402eef83f73585f036a44aa43b159cbd2.tar.bz2
opensim-SC-e4fd63e402eef83f73585f036a44aa43b159cbd2.tar.xz
Merge branch 'ubitwork' of ssh://3dhosting.de/var/git/careminster into ubitwork
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Physics/Manager/PhysicsActor.cs1
-rw-r--r--OpenSim/Region/Physics/Manager/PhysicsScene.cs5
2 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/Manager/PhysicsActor.cs b/OpenSim/Region/Physics/Manager/PhysicsActor.cs
index e39cee7..9338130 100644
--- a/OpenSim/Region/Physics/Manager/PhysicsActor.cs
+++ b/OpenSim/Region/Physics/Manager/PhysicsActor.cs
@@ -411,6 +411,7 @@ namespace OpenSim.Region.Physics.Manager
411 // Warning in a parent part it returns itself, not null 411 // Warning in a parent part it returns itself, not null
412 public virtual PhysicsActor ParentActor { get { return this; } } 412 public virtual PhysicsActor ParentActor { get { return this; } }
413 413
414
414 } 415 }
415 416
416 public class NullPhysicsActor : PhysicsActor 417 public class NullPhysicsActor : PhysicsActor
diff --git a/OpenSim/Region/Physics/Manager/PhysicsScene.cs b/OpenSim/Region/Physics/Manager/PhysicsScene.cs
index cdffa6b..a442cf0 100644
--- a/OpenSim/Region/Physics/Manager/PhysicsScene.cs
+++ b/OpenSim/Region/Physics/Manager/PhysicsScene.cs
@@ -38,6 +38,7 @@ namespace OpenSim.Region.Physics.Manager
38 38
39 public delegate void RaycastCallback(bool hitYN, Vector3 collisionPoint, uint localid, float distance, Vector3 normal); 39 public delegate void RaycastCallback(bool hitYN, Vector3 collisionPoint, uint localid, float distance, Vector3 normal);
40 public delegate void RayCallback(List<ContactResult> list); 40 public delegate void RayCallback(List<ContactResult> list);
41 public delegate void SitAvatarCallback(int status, uint partID, Vector3 offset, Quaternion Orientation);
41 42
42 public delegate void JointMoved(PhysicsJoint joint); 43 public delegate void JointMoved(PhysicsJoint joint);
43 public delegate void JointDeactivated(PhysicsJoint joint); 44 public delegate void JointDeactivated(PhysicsJoint joint);
@@ -357,5 +358,9 @@ namespace OpenSim.Region.Physics.Manager
357 return new List<ContactResult>(); 358 return new List<ContactResult>();
358 } 359 }
359 360
361 public virtual int SitAvatar(PhysicsActor actor, Vector3 AbsolutePosition, Vector3 CameraPosition, Vector3 offset, Vector3 AvatarSize, SitAvatarCallback PhysicsSitResponse)
362 {
363 return 0;
364 }
360 } 365 }
361} 366}