Skip to content

PhysShape Info

b3ngr33ni3r edited this page Feb 8, 2012 · 1 revision

To make radial gravity (push or pull)


`new (...b2Vec2(0.5,1),500...)`
where `0.5` is `gravity strength multiplier`
`1` is `push(-1) or pull(1)`
`500` is `radial distance`

Clone this wiki locally