diff options
Diffstat (limited to 'Racing-Game/Obstacles/ ObstacleBarrier.gd')
| -rw-r--r-- | Racing-Game/Obstacles/ ObstacleBarrier.gd | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Racing-Game/Obstacles/ ObstacleBarrier.gd b/Racing-Game/Obstacles/ ObstacleBarrier.gd new file mode 100644 index 0000000..c899704 --- /dev/null +++ b/Racing-Game/Obstacles/ ObstacleBarrier.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 = 5 + mass = 1000 + pass # Replace with function body. + +# Called every frame. 'delta' is the elapsed time since the previous frame. +#func _process(delta): +# pass |
