make asteroids targetable
This commit is contained in:
parent
36cad88e77
commit
e67aa16a93
|
@ -304,6 +304,10 @@ fn spawn_despawn_asteroids(
|
|||
Collider::sphere(1.0),
|
||||
Rotation::from(Quat::from_rotation_y(-PI / 3.)),
|
||||
Position::new(pos),
|
||||
hud::IsClickable {
|
||||
name: Some("Uncharted Rock".to_string()),
|
||||
..default()
|
||||
},
|
||||
Asteroid,
|
||||
DespawnOnPlayerDeath,
|
||||
));
|
||||
|
|
Loading…
Reference in a new issue