bevy_polyline icon indicating copy to clipboard operation
bevy_polyline copied to clipboard

Line is blinking if perspective set to false

Open younggam opened this issue 2 years ago • 6 comments

제목없음3

While above gif seems line randomly blinks because of low frame, actually it blinks periodically and short term.

Below is the spawn of line with set off perspective since default value of perspective is false.

PolylineBundle {
        transform: Transform::from_xyz(0., 3., -10.),
        polyline: polylines.add(Polyline {
            vertices: vec![Vec3::new(2., 2., 0.), Vec3::new(-2., -2., 0.)],
            ..default()
        }),
        material: polyline_materials.add(PolylineMaterial {
            color: Color::WHITE,
            ..default()
        }),
        ..default()
}

younggam avatar Nov 06 '22 11:11 younggam