Skip to content

Commit a6278fc

Browse files
authored
Update SpatialProcessingSurfaceMagnetism.md
1 parent 8442ede commit a6278fc

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Assets/HoloToolkit-Examples/SpatialMapping/SpatialProcessingSurfaceMagnetism.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@ This example shows how to make objects smoothly align with the physical surface.
33

44

55
## How to use
6-
You need to assign same Unity layer to the Spatial mapping’s plane and Solver Surface Magnetism’s Magnetic Surface.
6+
You need to assign same Unity layer to the Spatial mapping’s plane and Solver Surface Magnetism’s Magnetic Surface.
77

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-
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+
<img src="/External/ReadMeImages/MRTK_SurfaceMagnetism1.png" width="550">
10+
<img src="/External/ReadMeImages/MRTK_SurfaceMagnetism2.png" width="550">
1011

1112
2. In SpatialMapping prefab, change Physics Layer to the new layer number. In this example, the new layer is 8
12-
13+
<img src="/External/ReadMeImages/MRTK_SurfaceMagnetism3.png" width="550">
1314

1415
3. Assign SolverSurfaceMagnetism script to an object. In Magnetic Surface option, select the new layer (SpatialProcessingPlane) that you created.
15-
16+
<img src="/External/ReadMeImages/MRTK_SurfaceMagnetism4.png" width="550">
1617

1718
4. After initial room scanning, you will be able to see MRTK logo plane is smoothly snapping to the surfaces.
1819

19-
2020

2121

0 commit comments

Comments
 (0)