Skip to content

Commit

Permalink
fix(VobCreator): Spots now have the ignore raycast layer
Browse files Browse the repository at this point in the history
  • Loading branch information
JucanAndreiDaniel committed Jan 30, 2024
1 parent e25932e commit 757c410
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Assets/GothicVR/Scripts/Creator/VobCreator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,7 @@ private static GameObject CreateSpot(IVirtualObject vob)
var fpName = vob.Name.IsEmpty() ? "START" : vob.Name;
vobObj.name = fpName;
vobObj.SetParent(parentGosTeleport[vob.Type]);
vobObj.layer = Constants.IgnoreRaycastLayer;

var freePointData = new FreePoint
{
Expand Down

0 comments on commit 757c410

Please sign in to comment.