Skip to content

Instantly share code, notes, and snippets.

View afgonullu's full-sized avatar

A Faruk Gonullu afgonullu

View GitHub Profile
@willnationsdev
willnationsdev / RigidbodyController3D.gd
Last active February 27, 2024 20:03
A Basic Controller for a 3D Rigidbody in Godot 3.0
# ---
# Note: I honestly can't remember where this gist came from.
# This sounds like something I would've uploaded from sample code people shared on Reddit while asking questions.
# So, as far as my part in sharing this code, I would consider it to be MIT licensed.
# If someone on Reddit suddenly pops up saying I'm not crediting them, then I'll gladly add the credit.
# ---
# A Rigidbody Controller for basic 3D movement
extends RigidBody
@swayducky
swayducky / cursor
Last active September 24, 2024 05:42
This fixes using "cursor" command in WSL
#!/usr/bin/env sh
# LATEST VERSION OF THIS SCRIPT: https://gist.github.com/swayducky/8ba8f2db156c7f445d562cdc12c0ddb4
# FORKED FROM: https://gist.github.com/ddwang/0046da801bcb29d241869d37ad719394
# 1) No longer has a hard-coded COMMIT
# 2) Auto-symlinks a "code" script to avoid wslCode.sh breaking
# HOW TO INSTALL:
# 1) Remove "c:\Users\<USER_NAME>\AppData\Local\Programs\cursor\resources\app\bin" from Windows Environment Settings
# 2) Modify this script with your Windows <USER_NAME> (NOT your WSL username) in the VSCODE_PATH variable