{"repo":"avianphysics/bevy_heavy","free":true,"listed":false,"github":"https://github.com/avianphysics/bevy_heavy","clone":"git clone https://github.com/avianphysics/bevy_heavy.git","description":"Mass properties for Bevy's geometric primitives.","language":"Rust","stars":27,"topics":["bevy","game-development","geometry","mass","math","physics","rust"],"license":"Apache-2.0","category":"game-templates","readme_excerpt":"bevy heavy bevy heavy is a crate for computing mass properties (mass, angular inertia, and center of mass) for the [geometric primitives] in the [Bevy game engine][Bevy]. This is typically required for things like physics simulations. [geometric primitives]: https://docs.rs/bevy/latest/bevy/math/primitives/index.html [Bevy]: https://bevyengine.org Features - MassProperties2d and MassProperties3d structs containing the mass, angular inertia, and local center of mass - Mass property computation for all of Bevy's [geometric primitives] - Eigensolver for symmetric 3x3 matrices - Support for bevy reflect and serde through the bevy reflect and serialize feature flags Usage Mass properties can be computed individually for shapes using the mass , angular inertia , and center of mass methods: You can also compute all mass properties at once, returning MassProperties2d for 2D shapes, or MassProperties3d for 3D shapes. This can be more efficient when more than one property is needed. The mass property types have several helper methods for various transformations and operations: You can also add and subtract mass properties: To support mass property computation for custom shapes, implement ComputeMassProperties2d or ComputeMassProperties3d for them. Supported bevy math Versions bevy math bevy heavy ----------- ------------ 0.19 0.5 0.18 0.4 0.17 0.3 0.16 0.2 0.15 0.1 License bevy heavy is free, open source, and permissively licensed! Except where noted (below and/or in individual files),","default_branch":null,"files":null,"tree":[],"storefront":"/r/avianphysics","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/avianphysics/bevy_heavy/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}