Skip to content

Instantly share code, notes, and snippets.

@xorgxl
xorgxl / idk bru
Created April 23, 2026 14:02
rocket league
extends RigidBody3D
# Enhanced ball physics. Attach to a RigidBody3D sphere root.
@export var base_bounce: float = 0.86
@export var friction: float = 0.18
@export var spin_factor: float = 0.6
@export var max_angular_speed: float = 18.0
func _ready():
physics_material_override = PhysicsMaterial3D.new()