DrChat / Gmod-vphysics

Replacement vphysics module for the Source engine (originally meant for Garry's Mod)
Other
92 stars 15 forks source link

Ray traces of length 0 are currently unsupported #28

Open DrChat opened 10 years ago

DrChat commented 10 years ago

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 commented 10 years ago

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

GranPC commented 10 years ago

i bet it was just luck

On Wed, Mar 19, 2014 at 11:55 PM, DrChat notifications@github.com 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 commented 10 years ago

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

DrChat commented 10 years ago

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.

GranPC commented 10 years ago

Any direction should work

On Sat, Sep 6, 2014 at 7:51 PM, DrChat notifications@github.com 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.

DrChat commented 10 years ago

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

GranPC commented 10 years ago

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 notifications@github.com 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.