dimforge / dimforge/bevy_rapier
Support for quad/rect 2D shape in 3D (or degenerate cuboid)?
Open
A-Geometry
A-Integration
C-Enhancement
D-Medium
P-Low
S-not-started
- Dominant language
- Rust
- Stars
- 1.6k
- Forks
- 282
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
Is it possible to use a degenerate cuboid shape in 3D to simulate a quad/rect 2D shape? That is, setting one half-extent to `0.`? By "possible" I mean both whether this works in the first place, and whether this is optimal performance-wise, so handled as a single face instead of a 6-face cube?
Otherwise, what option is there for a quad/rect 2D shape in 3D? I'm surprised this is not supported as built-in given the wide variety of shapes already supported, did I miss something? Should I use a triangle mesh? That feels a bit sub-optimal.
Thanks! :)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.