Domanda

My physics world needs a circular boundary. How can that be set? Primitive object does not include 'circle'. So can't specify the wall bound directly. Kindly guide.

È stato utile?

Soluzione

There is no direct support as far as I have tried. But you can do repeated lines around the circumference of circle to generate a circular collision wall.

You can use the following link to generate points that can be used to draw lines. Formula to find points on the circumference of a circle, given the center of the circle and the radius

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top