Skip to content

Instantly share code, notes, and snippets.

@MantasMikal
MantasMikal / avorion-macos-mouse-offset-fix-setup.sh
Last active April 26, 2026 22:39
Fix Avorion cursor offset on mac
#!/bin/bash
echo "=========================================="
echo "Avorion Mac Notch Fix - Setup Script"
echo "=========================================="
echo ""
# Get the script's directory (should be Avorion game folder)
GAME_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
@botamochi6277
botamochi6277 / PIDController.cs
Last active May 20, 2024 04:52
Unity PID controller for position and rotation
using System.Collections;
using System.Collections.Generic;
// using Sirenix.OdinInspector;
using UnityEngine;
using UnityEngine.Serialization;
namespace BotaLab
{
/**
* @brief A Unity Component to control position and rotation with PID controller