hurrmmm/godot/physics/billiard.gd

8 lines
121 B
GDScript3
Raw Normal View History

2023-11-11 16:12:46 -07:00
extends RigidBody3D
2023-11-11 17:24:52 -07:00
class_name Billiard
var can_hit = true
func hit(impulse: Vector3):
apply_central_impulse(impulse)