You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"\t\tCollidesWith = ${4:~0u}, //preset is collides w/ everything",
333
+
"\t\tGroupIndex = ${5:0}",
334
+
"\t}",
335
+
"};",
336
+
"",
337
+
"RaycastHit hit = new RaycastHit();",
338
+
"bool didHit = collisionWorld.CastRay(input, out hit);",
339
+
"",
340
+
"if (didHit)",
341
+
"{",
342
+
"\t${0}",
343
+
"}"
344
+
],
345
+
"description": "Create a Unity Physics (the DOTS package) raycast. NOTE: requires Unity Physics package to be installed and a using directive - using Unity.Physics;"
0 commit comments