Skip to content

Instantly share code, notes, and snippets.

@Ooseykins
Ooseykins / PointAtScreen.json
Created October 21, 2025 04:04
Warudo blueprint to point hand IK at the mouse cursor
{"id":"c7fa4569-e71b-42a1-b9f3-955f5f4ac74d","enabled":true,"name":"PointAtScreen","order":0,"group":null,"panningX":-3246.30957,"panningY":1307.41492,"scaling":0.695621848,"nodes":{"014883d7-cc59-4ffe-b858-ce2613821fae":{"id":"014883d7-cc59-4ffe-b858-ce2613821fae","dataInputs":{"Text":{"type":"string","value":"\"This section sets the depth of the pointer target to the character's shoulder depth, plus an offset\""},"Content":{"type":"string","value":"\"This section sets the depth of the pointer target to the character's shoulder depth, plus an offset\""},"Editing":{"type":"bool","value":"false"}},"typeId":"200ee639-79bc-492c-a14c-a6b64cfcf39d","name":"COMMENT","x":692.193665,"y":185.922134},"a1f9b9fb-d550-4c77-8e39-e29e18131d1e":{"id":"a1f9b9fb-d550-4c77-8e39-e29e18131d1e","dataInputs":{"Value":{"type":"UnityEngine.Color","value":"{\"r\":0.2509804,\"g\":1.0,\"b\":0.0,\"a\":1.0}"}},"typeId":"dfe44150-fce4-4998-82d1-5b14f97b9605","name":"COLOR","x":6561.1084,"y":-254.450089},"4557854c-7533-4ec6-8f5c-342dd4e7b04
@Ooseykins
Ooseykins / WindowTransparencyToggle2.ahk
Last active September 9, 2025 02:22
AutoHotkey 2 script for changing window properties, for Vtubing
#SingleInstance
; Hotkey for toggling the title bar
; Removes the title bar fine, unstable adding it back
#!0:: ToggleTitle()
; Hotkeys for progressively more opaque windows
; Colors matching the hex color (like 000000 for black) will be 100% transparent
; Other colors will be partially transparent
#!1:: ToggleTransparency("000000 25")
@Ooseykins
Ooseykins / WindowTransparencyToggle.ahk
Created September 8, 2025 02:44
AutoHotkey 1.1.37.02 script for changing window properties, for Vtubing
#SingleInstance
; Hotkey for toggling the title bar
#!0:: ToggleTitle()
; Hotkeys for progressively more opaque windows
#!1:: ToggleTransparency(25)
#!2:: ToggleTransparency(50)
#!3:: ToggleTransparency(75)
#!4:: ToggleTransparency(100)
@Ooseykins
Ooseykins / NormalizeBones.py
Created October 7, 2024 23:49
Point all bones up (z-axis) to "Normalize" them. This will mean when imported into Unity their rotations should all be euler (0, 0, 0). This is for apps like Warudo or VMC so you can preserve your workflow without having to use an in-Unity script.
bl_info = {
"name": "Normalize bones",
"blender": (3, 4, 1),
"category": "Object",
}
import bpy
import mathutils
class NormalizeBonesOperator(bpy.types.Operator):
using System;
using System.Collections.Generic;
using System.Linq;
using Cysharp.Threading.Tasks;
using Klak.Spout;
using Unity.Collections;
using Warudo.Core.Attributes;
using Warudo.Core.Graphs;
using UnityEngine;
using UnityEngine.Rendering;
@Ooseykins
Ooseykins / CultOfTheLambHatCopyBlendshapes.json
Created August 14, 2024 05:43
Warudo blueprint to copy ARKit blendshapes from a character to a prop
{"id":"7da1be07-c59d-42c2-9020-c5dc3396445f","enabled":true,"name":"Cult of the Lamb copy face blendshapes","order":0,"group":null,"panningX":2269.62256,"panningY":1709.69165,"scaling":0.394318044,"nodes":{"325cefef-f9f5-4fa8-81d0-56e9e582661d":{"id":"325cefef-f9f5-4fa8-81d0-56e9e582661d","dataInputs":{"Prop":{"type":"Warudo.Plugins.Core.Assets.Prop.PropAsset","value":"{\"id\":\"c3084f7e-c1ef-4abc-aa85-8a07a1283a2d\",\"name\":\"Cult of the Lamb Hat\"}"},"TargetSkinnedMesh":{"type":"string","value":"\"Prop(Clone)\""},"BlendShape":{"type":"string","value":"\"eyeLookOutRight\""},"Value":{"type":"float","value":"0.0249997433"},"TransitionTime":{"type":"float","value":"0.0"},"TransitionEasing":{"type":"DG.Tweening.Ease","value":"{\"label\":\"OutCubic\",\"value\":9,\"description\":null,\"icon\":null}"}},"typeId":"607f4b4d-5017-4255-a0dd-65d8a926038b","name":"SET_PROP_BLENDSHAPE","x":-725.2151,"y":-183.253784},"bf588367-7ebf-426b-906e-934d404ac08b":{"id":"bf588367-7ebf-426b-906e-934d404ac08b","dataInputs":{"Characte
using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using BepInEx;
using UniVRM10;
using GameNetcodeStuff;
using UniGLTF;
using UnityEngine;
using UnityEngine.Rendering;
@Ooseykins
Ooseykins / IFacialMocapReciever.cs
Created August 15, 2022 02:57
Simpler Unity receiver for IFacialMocap. Statically access IFacialMocapReciever.currentFrame to get the most recent weights and transforms.
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using UnityEngine;
public class IFacialMocapReciever : MonoBehaviour
{
@Ooseykins
Ooseykins / TransformSlider.cs
Created August 15, 2022 02:52
Script for sliding bracelets up and down a character's arm, or other simple incline-plane-like simulations. SliderTransform origins will be placed along the topmost edge of the rendered gizmo.
using UnityEngine;
public class TransformSlider : MonoBehaviour {
[Min(0.01f)]
public float length = 0.1f;
float totalOffset;
public float scale = 0.05f;
public AnimationCurve scaleCurve = AnimationCurve.Linear(0f,1f,1f,0.5f);
public Vector3 gravity;
[System.Serializable]
@Ooseykins
Ooseykins / ScriptableObjectWithColorEditor.cs
Last active August 3, 2022 04:41
Override of RenderStaticPreview for tinting an asset preview icon to a scriptable object's color
using UnityEngine;
using UnityEditor;
[CustomEditor(typeof(ScriptableObjectWithColor))]
public class ScriptableObjectWithColorEditor : Editor
{
public override Texture2D RenderStaticPreview(string assetPath, Object[] subAssets, int width, int height)
{
ScriptableObjectWithColor targetObj = (ScriptableObjectWithColor)target;
if (targetObj == null)