diff options
| author | realtradam <[email protected]> | 2020-03-19 03:06:35 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2020-03-19 03:06:35 -0400 |
| commit | 2e7c27e3934fd9c73f7e6cd414a50a9a17e1669c (patch) | |
| tree | a326cf8298580e28aa76766ec2836f980257f428 /Racing-Game/4WheelCar/FrontWheel.tscn | |
| parent | 0fe77a326aec5732920dd3b23b36fd3405ff9e25 (diff) | |
| download | optimal-direction-2e7c27e3934fd9c73f7e6cd414a50a9a17e1669c.tar.gz optimal-direction-2e7c27e3934fd9c73f7e6cd414a50a9a17e1669c.zip | |
Wheels have been made more modular and easier to modify properties
Diffstat (limited to 'Racing-Game/4WheelCar/FrontWheel.tscn')
| -rw-r--r-- | Racing-Game/4WheelCar/FrontWheel.tscn | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Racing-Game/4WheelCar/FrontWheel.tscn b/Racing-Game/4WheelCar/FrontWheel.tscn new file mode 100644 index 0000000..330e147 --- /dev/null +++ b/Racing-Game/4WheelCar/FrontWheel.tscn @@ -0,0 +1,28 @@ +[gd_scene load_steps=5 format=2] + +[ext_resource path="res://4WheelCar/Skid/SkidController.gd" type="Script" id=1] +[ext_resource path="res://4WheelCar/FrontWheel.gd" type="Script" id=2] +[ext_resource path="res://Art(non-orig)/crosshair(isorig).png" type="Texture" id=3] + +[sub_resource type="RectangleShape2D" id=1] +extents = Vector2( 6.93714, 14.1584 ) + +[node name="FrontWheel" type="RigidBody2D"] +z_index = 2 +mass = 15.0 +linear_damp = 0.4 +angular_damp = 7.04 +script = ExtResource( 2 ) +__meta__ = { +"_edit_group_": true +} + +[node name="CollisionShape2D" type="CollisionShape2D" parent="."] +shape = SubResource( 1 ) +disabled = true + +[node name="SkidController4" type="Node" parent="."] +script = ExtResource( 1 ) + +[node name="Sprite" type="Sprite" parent="."] +texture = ExtResource( 3 ) |
