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

GetPelvisPosition() public method

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