FSO.LotView.Components.AvatarComponent.GetSLOTPosition C# (CSharp) Method

GetSLOTPosition() public method

public GetSLOTPosition ( int slot ) : Vector3
slot int
return Vector3
        public override Vector3 GetSLOTPosition(int slot)
        {
            var handpos = Avatar.Skeleton.GetBone("R_FINGER0").AbsolutePosition / 3.0f;
            return Vector3.Transform(new Vector3(handpos.X, handpos.Z, handpos.Y), Matrix.CreateRotationZ((float)(RadianDirection+Math.PI))) + this.Position - new Vector3(0.5f, 0.5f, 0f);
        }