diff options
Diffstat (limited to 'Racing-Game/4WheelCar/Engine.gd')
| -rw-r--r-- | Racing-Game/4WheelCar/Engine.gd | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Racing-Game/4WheelCar/Engine.gd b/Racing-Game/4WheelCar/Engine.gd new file mode 100644 index 0000000..46c8298 --- /dev/null +++ b/Racing-Game/4WheelCar/Engine.gd @@ -0,0 +1,13 @@ +extends RigidBody2D + +# Declare member variables here. Examples: +# var a = 2 +# var b = "text" + +# Called when the node enters the scene tree for the first time. +func _ready(): + pass # Replace with function body. + +# Called every frame. 'delta' is the elapsed time since the previous frame. +func _process(delta): + set_rotation(get_node("../../CarBody").get_rotation()) |
