Skip to content

Commit 30f7621

Browse files
authored
Merge pull request #127 from Nytra/meshEditToolVrFixes
Fix mesh edit tool in VR
2 parents afd39c8 + f2fd3a4 commit 30f7621

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

ProjectObsidian/Components/Tools/MeshEditTool.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ public class MeshEditTool : Tool
1919
protected readonly DestroyRelayRef<EditableMesh> _currentEditableMesh;
2020
protected readonly SyncRef<TextRenderer> _label;
2121

22+
public override bool UsesLaser => true;
23+
2224
protected override void OnAttach()
2325
{
2426
base.OnAttach();
@@ -38,7 +40,7 @@ protected override void OnAttach()
3840
coneMesh.Height.Value = 0.05f;
3941

4042
Slot labelPivot = Slot.AddSlot("Label Pivot");
41-
labelPivot.LocalRotation = floatQ.Euler(0f, 0f, 90f);
43+
labelPivot.LocalRotation = floatQ.Euler(0f, 0f, 45f);
4244

4345
Slot slot2 = labelPivot.AddSlot("Label");
4446
TextRenderer label = slot2.AttachComponent<TextRenderer>();

0 commit comments

Comments
 (0)