File tree 3 files changed +6
-4
lines changed
3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
- # Raycast Visualization
1
+ ![ Banner] ( ./Gifs~/banner.png )
2
+
2
3
This asset allows users to view raycasts as the user fires them.
3
4
4
5
Supports both the 2D and 3D api.
@@ -11,6 +12,7 @@ To get a visual to show up for a physics call simply do the following:
11
12
12
13
#### For 2D:
13
14
- Replace ` Physics2D. ` with ` VisualPhysics2D. ` .
15
+ - Some 2D functions rely more on a 3D perspective in the editor depending on the orientation of the casts.
14
16
15
17
## Installation
16
18
#### Using Unity Package Manager
@@ -26,7 +28,7 @@ The user options are located under `Edit/Preferences/RaycastVisualization`
26
28
27
29
## Examples
28
30
<details >
29
- <summary>3D API</summary>
31
+ <summary>3D API (click to expand) </summary>
30
32
31
33
#### Raycast / Linecast
32
34
<img src =" ./Gifs~/3d/raycast.gif " alt =" raycast " width =" 750 " />
@@ -78,7 +80,7 @@ The user options are located under `Edit/Preferences/RaycastVisualization`
78
80
</details >
79
81
80
82
<details >
81
- <summary>2D API</summary>
83
+ <summary>2D API (click to expand) </summary>
82
84
83
85
#### Raycast
84
86
<img src =" ./Gifs~/2d/raycast.gif " alt =" raycast " width =" 750 " />
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " com.nomnom.raycast-visualization" ,
3
- "version" : " 2.0.0 " ,
3
+ "version" : " 2.0.1 " ,
4
4
"displayName" : " Nomnom's Raycast Visualization" ,
5
5
"description" : " This asset allows users to view debug visuals for all raycast methods." ,
6
6
"unity" : " 2020.3" ,
You can’t perform that action at this time.
0 commit comments