diff options
| author | realtradam <[email protected]> | 2020-03-19 03:28:23 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2020-03-19 03:28:23 -0400 |
| commit | 57c5f73d0d957dc426d922d591fa5a0dd1452892 (patch) | |
| tree | 490e1eaf130d7c3eab82c34505e1153d4837d002 /Racing-Game/4WheelCar/Weight.tscn | |
| parent | 2e7c27e3934fd9c73f7e6cd414a50a9a17e1669c (diff) | |
| download | optimal-direction-57c5f73d0d957dc426d922d591fa5a0dd1452892.tar.gz optimal-direction-57c5f73d0d957dc426d922d591fa5a0dd1452892.zip | |
made weight distribution also more modular
Diffstat (limited to 'Racing-Game/4WheelCar/Weight.tscn')
| -rw-r--r-- | Racing-Game/4WheelCar/Weight.tscn | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Racing-Game/4WheelCar/Weight.tscn b/Racing-Game/4WheelCar/Weight.tscn new file mode 100644 index 0000000..4735229 --- /dev/null +++ b/Racing-Game/4WheelCar/Weight.tscn @@ -0,0 +1,23 @@ +[gd_scene load_steps=4 format=2] + +[ext_resource path="res://Art(non-orig)/crosshair(isorig).png" type="Texture" id=1] +[ext_resource path="res://4WheelCar/Weight.gd" type="Script" id=2] + +[sub_resource type="RectangleShape2D" id=1] + +[node name="Weight" type="RigidBody2D"] +position = Vector2( -0.446396, 25.4176 ) +z_index = 2 +mass = 10.0 +script = ExtResource( 2 ) + +[node name="CollisionShape2D" type="CollisionShape2D" parent="."] +z_index = 2 +shape = SubResource( 1 ) +disabled = true +__meta__ = { +"_edit_group_": true +} + +[node name="Sprite" type="Sprite" parent="."] +texture = ExtResource( 1 ) |
