Commit 01235ee
committed
fix: default needsRaycast to true, add subscriber in RaycastResultsProcessed
- Default RaycastDataInfo::needsRaycast to true so that manually-created
RaycastData components are processed by Physics without needing to know
about the optimization flag. The CpuLidar system already explicitly
manages the flag each step.
- Add a topic subscriber in the RaycastResultsProcessed test so that
HasConnections() returns true and the CpuLidar system requests raycasts.
Generated-by: Amp <amp@ampcode.com>
Signed-off-by: Alexis Pojomovsky <apojomovsky@gmail.com>1 parent 26a2b6a commit 01235ee
File tree
2 files changed
+9
-2
lines changed- include/gz/sim/components
- test/integration
2 files changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
197 | 204 | | |
198 | 205 | | |
199 | 206 | | |
| |||
0 commit comments