hurrmmm/godot/physics/billiard.gd

8 lines
121 B
GDScript

extends RigidBody3D
class_name Billiard
var can_hit = true
func hit(impulse: Vector3):
apply_central_impulse(impulse)