Skip to content

Commit 8442ede

Browse files
committed
Adding README file for SpatialProcessing + SolverSurfaceMagnetism
1 parent 08a1923 commit 8442ede

File tree

5 files changed

+21
-0
lines changed

5 files changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Spatial Processing + Solver Surface Magnetism example
2+
This example shows how to make objects smoothly align with the physical surface. For more information about Solver system, please read
3+
4+
5+
## How to use
6+
You need to assign same Unity layer to the Spatial mapping’s plane and Solver Surface Magnetism’s Magnetic Surface.
7+
8+
1. Add a new layer for the planes created by Spatial Processing. (to snap to) This example shows a new layer named ‘SpatialProcessingPlane’
9+
10+
11+
2. In SpatialMapping prefab, change Physics Layer to the new layer number. In this example, the new layer is 8
12+
13+
14+
3. Assign SolverSurfaceMagnetism script to an object. In Magnetic Surface option, select the new layer (SpatialProcessingPlane) that you created.
15+
16+
17+
4. After initial room scanning, you will be able to see MRTK logo plane is smoothly snapping to the surfaces.
18+
19+
20+
21+
31.9 KB
Loading
26.5 KB
Loading
63.4 KB
Loading
56.5 KB
Loading

0 commit comments

Comments
 (0)