acidbubbles / vam-collider-editor

Configures and customizes collisions (rigidbodies and colliders).
MIT License
23 stars 8 forks source link

Reduce the default range of positions and offset #17

Closed via5 closed 3 years ago

via5 commented 4 years ago

The default range for positions and offsets was always -0.25 to 0.25, which is typically much too large for the kind of movements required to fine tune colliders. I've moved all the ranges to helper functions in ModelBase, which return a range of -0.025 to 0.025 (ten times smaller) around the current value.

acidbubbles commented 4 years ago

That makes sense, I'll try this out tomorrow!

acidbubbles commented 3 years ago

I merged this, I'll probably just make the +/- values around the initial value instead of the current one, and allow increasing range. Otherwise the code is sound and merged :)