diff options
| author | realtradam <[email protected]> | 2020-03-15 14:31:34 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2020-03-15 14:31:34 -0400 |
| commit | c65f6805081e999fa231f71b231dba6dc05286ea (patch) | |
| tree | 5365cc9bca9fc05b7c9bc26858335fdd3b5ede68 /Racing-Game/Obstacles/ObstacleTires.gd | |
| parent | 007e9dab410d825e92b0d391fd8356efcb4cb5db (diff) | |
| download | optimal-direction-c65f6805081e999fa231f71b231dba6dc05286ea.tar.gz optimal-direction-c65f6805081e999fa231f71b231dba6dc05286ea.zip | |
more organizing file structure, not done yet
Diffstat (limited to 'Racing-Game/Obstacles/ObstacleTires.gd')
| -rw-r--r-- | Racing-Game/Obstacles/ObstacleTires.gd | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Racing-Game/Obstacles/ObstacleTires.gd b/Racing-Game/Obstacles/ObstacleTires.gd new file mode 100644 index 0000000..c1ced85 --- /dev/null +++ b/Racing-Game/Obstacles/ObstacleTires.gd @@ -0,0 +1,17 @@ +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(): + bounce = 0 + linear_damp = 5 + angular_damp = 3 + mass = 150 + pass # Replace with function body. + +# Called every frame. 'delta' is the elapsed time since the previous frame. +#func _process(delta): +# pass |
