Get the latest tech news

Particle Based Physics Engine in Golang


A simple Physics engine in GoLang. Contribute to rudransh61/Physix-go development by creating an account on GitHub.

This will apply the forces based on Hooke's Law and damping to the connected rigid bodies. To update our entity, we have two functions: ApplyForce and ApplyForcePolygon, as the name suggests, one is for RigidBody and one for polygons. NOTE: Define dt(0.1 mostly) at the top globally for good code.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Particle

Particle

Photo of golang

golang

Photo of based physics engine

based physics engine

Related news:

News photo

Did the Particle Go Through the Two Slits, or Did the Wave Function?

News photo

Show HN: A Database Written in Golang

News photo

Discussion: Reduce error handling boilerplate in Golang using '?'