How do I use bezier curves on the collision polygon?

Get help using Construct 2

Post » Sun Oct 04, 2015 4:48 pm

For complex objects, I want the collision polygon to be as precise as possible, but avoid adding too many points. For some, I need more than 8 points.

Is it possible to use bezier curves in the collision polygon? Is this a feature that may be coming to C2? or is there another way to make precise collision polygons or rounded edges?
Play Ball Walker App Store | Google Play | Amazon
Image
B
30
S
5
Posts: 116
Reputation: 2,088

Post » Sun Oct 04, 2015 5:04 pm

Nope, there is a round option in the physics properties of an object when using Physics, but that's the only alternative.

8 points are the recommended max to keep the calculations down. Bezier curves have a lot of calculations.
B
230
S
62
G
33
Posts: 902
Reputation: 40,319

Post » Sun Oct 04, 2015 5:32 pm

I'm aware of the circle option when using physics, which is a big help. That would be great if bezier curves could be added to C3.

I also did some testing and increased the number of points (more than 8) and it didn't seem to slow down the FPS or increase CPU usage.
Play Ball Walker App Store | Google Play | Amazon
Image
B
30
S
5
Posts: 116
Reputation: 2,088


Return to How do I....?

Who is online

Users browsing this forum: charliesan763, JaredX and 12 guests