mirror of
https://github.com/JohnBreaux/Boat-Battle.git
synced 2025-02-04 12:28:35 +00:00
Collision is bad
Tried working on the collision when placing ships, they are cramming when held on top of each other and are not returning to starting position when they are supposed to.
This commit is contained in:
@@ -8,6 +8,7 @@ extents = Vector2( 16, 48 )
|
||||
|
||||
[node name="3ShipA" type="RigidBody2D"]
|
||||
input_pickable = true
|
||||
gravity_scale = 0.0
|
||||
custom_integrator = true
|
||||
script = ExtResource( 1 )
|
||||
|
||||
@@ -16,3 +17,8 @@ texture = ExtResource( 2 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource( 1 )
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="."]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
||||
shape = SubResource( 1 )
|
||||
|
||||
Reference in New Issue
Block a user