#Radius of my spherecast isn't what i'd like it to
1 messages · Page 1 of 1 (latest)
📃 Large Code Blocks
Use links to services like:
https://gdl.space/, https://paste.ofcode.org/, https://hatebin.com/, https://paste.myst.rs/, https://hastebin.com/
📃 Inline Code
Surround code with three backquotes. Not quotation marks.
To format as C#, add cs to the first line:
```cs
// Your code here
```
Add a comment with a line number if there is an error message.
What do you want the radius to be? it takes in a float and it will have a radius that large for the entire length of the cast.
note that the flashlight isn't just a single radius at every distance, it is larger at farther distances
have you done any debugging such as drawing your casts in any way to actually ensure it is within the radius of the sphere you are casting?
Drawing rays is super useful. I would highly recommend it. My characters are SPEWING drawn rays out of em
https://github.com/vertxxyz/Vertx.Debugging this is what i use. and recent versions of unity can draw 3d casts using the physics debugger
yeah so you either need to use a bigger sphere, or query the are some other way