示例#1
0
 public void SendAvatarTerseUpdate(ulong regionHandle, ushort timeDilation, uint localID, OpenMetaverse.Vector3 position, OpenMetaverse.Vector3 velocity, OpenMetaverse.Vector3 acceleration, OpenMetaverse.Quaternion rotation, OpenMetaverse.UUID agentid, OpenMetaverse.Vector4 collisionPlane)
 {
 }
示例#2
0
        private void UpdateCollisionPlane(PhysX.ControllerShapeHit hit)
        {
            if (hit.Direction == -PhysX.Math.Vector3.UnitZ)
            {
                var omvNorm = PhysUtil.PhysxVectorToOmv(hit.WorldNormal);

                //we're colliding down, the collision normal should never have a negative Z
                if (omvNorm.Z < 0)
                {
                    omvNorm = OpenMetaverse.Vector3.UnitZ;
                }

                OpenMetaverse.Vector4 collPlane = new OpenMetaverse.Vector4(omvNorm,
                    OpenMetaverse.Vector3.Dot(PhysUtil.PhysxVectorToOmv(hit.WorldPosition), omvNorm)
                );

                //m_log.InfoFormat("ColPlane: WorldNormal: {0}, WorldPosition: {1}", hit.WorldNormal, hit.WorldPosition);

                _collisionPlane = collPlane;
            }
        }
示例#3
0
 public void SendAvatarData(ulong regionHandle, string firstName, string lastName, string grouptitle, OpenMetaverse.UUID avatarID, uint avatarLocalID,
                            OpenMetaverse.Vector3 Pos, byte[] textureEntry, uint parentID, OpenMetaverse.Quaternion rotation, OpenMetaverse.Vector4 collisionPlane,
                            OpenMetaverse.Vector3 velocity, bool immediate)
 {
 }
示例#4
0
 public  ExpVector4 (Parser yyp, float  x , float  y , float  z , float  w ):base(((PCParser
)yyp)){ this . val = new  OpenMetaverse . Vector4 ( x , y , z , w );
}