GoldBars no more pickable.

WorldChunkRefactoring
Martin Felis 2023-05-03 12:01:30 +02:00
parent 1693b63730
commit 55c81d125a
2 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,7 @@ using System;
public static class Globals public static class Globals
{ {
public const float EpsPosition = 0.02f; public const float EpsPosition = 0.01f;
public const float EpsPositionSquared = EpsPosition * EpsPosition; public const float EpsPositionSquared = EpsPosition * EpsPosition;
public const float EpsRadians = 0.1f * Godot.Mathf.Pi / 180f; public const float EpsRadians = 0.1f * Godot.Mathf.Pi / 180f;
public const float EpsRadiansSquared = EpsRadians * EpsRadians; public const float EpsRadiansSquared = EpsRadians * EpsRadians;

View File

@ -9,6 +9,7 @@ extents = Vector3( 0.354271, 0.0817164, 0.173406 )
[node name="Gold" type="KinematicBody"] [node name="Gold" type="KinematicBody"]
collision_layer = 9 collision_layer = 9
collision_mask = 0 collision_mask = 0
input_ray_pickable = false
script = ExtResource( 1 ) script = ExtResource( 1 )
[node name="CollisionShape" type="CollisionShape" parent="."] [node name="CollisionShape" type="CollisionShape" parent="."]