Go to official manual for installing it: https://www.codeandweb.com/physicseditor/tutorials/customize_physicseditor_exporter
- Clone repo
- Move it to another folder, ex: CustomExporters/
- Open PhysicsEditor -> File -> Preferences
- Select folder where you copied cloned repo (CustomExporters) in Custom exporter directory
- Restart PhysicsEditor
- Select Pixi (Polygons) in Exporter dropdown
- PROFIT!!!
- Exporting original or reshaped hulls
- Exporting hull's points as flat array or array of arrays
- Exporting compressed or pretty JSON
- Grouping fixtures hulls by labels or they IDs
- Disableing body node. Export fixtures from all bodies into one list.
- Export normalized points relative source size
- Export fixture boundings
Simple demo (PIXIJS): https://www.pixiplayground.com/#/edit/gnzNV59uF29mzcItXEXOU
Omporter demo (PIXIJS) : https://codesandbox.io/embed/pedantic-roentgen-w9qpj