Example #1
0
    protected override bool GetPoseImpl(byte device, byte control, ref Vector3 position, ref Quaternion rotation)
    {
        if (owner.isBoundToClient == false)
        {
            return(false);
        }

        return(AXRServerPlugin.GetInputPose(owner.playerID, device, control, ref position, ref rotation));
    }