Gmod-vphysics icon indicating copy to clipboard operation
Gmod-vphysics copied to clipboard

Ray traces of length 0 are currently unsupported

Open DrChat opened this issue 11 years ago • 7 comments
trafficstars

These are used by the game to determine if you're stuck inside of an object, also probably causes the skybox to not be rendered if you're inside of an object.

Will have to look at this inside of bullet's continuous convex collision class as well, as this isn't supported there either.

DrChat avatar Mar 16 '14 03:03 DrChat

Wow, I totally fixed the box traces! Woo me!

DrChat avatar Mar 19 '14 22:03 DrChat

i bet it was just luck

On Wed, Mar 19, 2014 at 11:55 PM, DrChat [email protected] wrote:

Wow, I totally fixed the box traces! Woo me!

Reply to this email directly or view it on GitHubhttps://github.com/DrChat/Gmod-vphysics/issues/28#issuecomment-38117666 .

GranPC avatar Mar 19 '14 22:03 GranPC

had an idea -- have you considered, even if just for a temp workaround, setting the trace length to epsilon if it's 0? i wouldn't be surprised if that's what havok does tbh

GranPC avatar Sep 06 '14 17:09 GranPC

Might be a good idea, I'll have to look into that. Main thing I'll get hooked up on though is the direction to extend the trace by epsilon, but I guess I'll figure that out.

DrChat avatar Sep 06 '14 17:09 DrChat

Any direction should work

On Sat, Sep 6, 2014 at 7:51 PM, DrChat [email protected] wrote:

Might be a good idea, I'll have to look into that. Main thing I'll get hooked up on though is the direction to extend the trace by epsilon, but I guess I'll figure that out.

— Reply to this email directly or view it on GitHub https://github.com/DrChat/Gmod-vphysics/issues/28#issuecomment-54722434.

GranPC avatar Sep 06 '14 17:09 GranPC

Yeah but it'll make me lose sleep at night if I hard code a direction

DrChat avatar Sep 06 '14 18:09 DrChat

If the current state of the project doesn't make you lose sleep at night, nothing will

On Sat, Sep 6, 2014 at 8:11 PM, DrChat [email protected] wrote:

Yeah but it'll make me lose sleep at night if I hard code a direction

— Reply to this email directly or view it on GitHub https://github.com/DrChat/Gmod-vphysics/issues/28#issuecomment-54723160.

GranPC avatar Sep 06 '14 18:09 GranPC