rapier
rapier copied to clipboard
Collider::round_triangle doesn't have round edges no matter the border_radius
Hello,
I was attempting to use .insert(Collider::round_triangle(a, b, c, border_radius)
in my project, but no value I provided to border_radius
would cause the edges to be rounded.
My exact call was
...
.insert(Collider::round_triangle(
Vec2::new(-128., 32.),
Vec2::new(-128., -32.),
Vec2::new(128., 0.),
1000.0,
...
I ended up using Collider::round_convex_hull(...)
for now, but figured I'd make a bug ticket in the meantime. I can provide further detail of necessary. Thanks!