*TESTP unscripted sit: missing files

avinationmerge
UbitUmarov 2012-12-17 01:43:16 +00:00
parent d003aa2e7b
commit 9d1a6558d9
2 changed files with 6 additions and 0 deletions

View File

@ -411,6 +411,7 @@ namespace OpenSim.Region.Physics.Manager
// Warning in a parent part it returns itself, not null
public virtual PhysicsActor ParentActor { get { return this; } }
}
public class NullPhysicsActor : PhysicsActor

View File

@ -38,6 +38,7 @@ namespace OpenSim.Region.Physics.Manager
public delegate void RaycastCallback(bool hitYN, Vector3 collisionPoint, uint localid, float distance, Vector3 normal);
public delegate void RayCallback(List<ContactResult> list);
public delegate void SitAvatarCallback(int status, uint partID, Vector3 offset, Quaternion Orientation);
public delegate void JointMoved(PhysicsJoint joint);
public delegate void JointDeactivated(PhysicsJoint joint);
@ -357,5 +358,9 @@ namespace OpenSim.Region.Physics.Manager
return new List<ContactResult>();
}
public virtual int SitAvatar(PhysicsActor actor, Vector3 AbsolutePosition, Vector3 CameraPosition, Vector3 offset, Vector3 AvatarSize, SitAvatarCallback PhysicsSitResponse)
{
return 0;
}
}
}