gnembon / fabric-carpet

Fabric Carpet
MIT License
1.65k stars 261 forks source link

idea: let draw_shape can use players sight local coordinate, so that it can be used to create HUD easilier. #1854

Open ch-yx opened 5 months ago

ch-yx commented 5 months ago

https://discord.com/channels/882822986795716608/894946828980723762/1192811784445374525

this is to add a optional flag, with this, you can draw some thing as usual, in [-1,1]^3, and add this optional flag, it will be drawn before users sight. which is helpful to create some HUD like things. for example, to display some info on users screen.

https://github.com/gnembon/fabric-carpet/assets/45825511/a1ac61aa-c894-491a-82db-35b8019895df