Pregunta

i wanna make something like that http://brm.io/gears-d3-js/ based on Famo.us, but looking throw physics module i could not find polygon body. Could it be done in the another way, or may be there some other forks with polygons?

I found this project interesting, that's why i want to get full-featured physics engine from that...

Thanks.

¿Fue útil?

Solución

Currently the physics engine is limited in a number of ways. There are no polygon bodies and barely even rectangular bodies. The only type of collision constraints that may be applied are to circular bodies, and walls.

Your example would be a bit tricky to do in the current release of Famo.us. I'm not saying it can't be done, but you may want to at least wait for rectangular body collision support.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top