瀏覽代碼

Use continuous collision

DricomDragon 3 年之前
父節點
當前提交
3f78c8b6e7
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      godot/scenes/Ball.tscn

+ 1 - 0
godot/scenes/Ball.tscn

@@ -17,6 +17,7 @@ collision_mask = 14
 mode = 2
 physics_material_override = SubResource( 1 )
 gravity_scale = 0.0
+continuous_cd = 2
 contacts_reported = 1
 linear_velocity = Vector2( 100, 100 )
 linear_damp = 0.0