DrChat / Gmod-vphysics

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

Sliders get weaker the longer they are #46

Open ottworks opened 9 years ago

DrChat commented 9 years ago

Yeah... Weird issue, will eventually look into it. I think in some configurations they'll cause the connected objects to freak out as well, might happen when the world is the reference object?

ottworks commented 9 years ago

Yes, that's what I observed when I filed this issue. On Nov 28, 2014 5:28 PM, "DrChat" notifications@github.com wrote:

Yeah... Weird issue, will eventually look into it. I think in some configurations they'll cause the connected objects to freak out as well, might happen when the world is the reference object?

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

DrChat commented 9 years ago

Looking into object freaking out issue. Appears to be related to some sort of gimbal lock. To reproduce: Slider constraint with axis going straight up relative to reference object

Is my bullAxisToMatrix function broken?

Okay, fixed in 491fc45defdb4afb88c8b22b025109319870d278. Still need to look into why they're weak when long.