Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
box2d
✓ github.com/ByteArena/box2d
Create a physics world and a body.
package main
import (
"github.com/ByteArena/box2d"
)
func main() {
world := box2d.MakeB2World(box2d.MakeB2Vec2(0, -10))
bodyDef := box2d.MakeB2BodyDef()
body := world.CreateBody(&bodyDef)
_ = body
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
1.0.2latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.