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
31
S
5
Posts: 117
Reputation: 2,115

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
240
S
62
G
33
Posts: 903
Reputation: 40,589

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
31
S
5
Posts: 117
Reputation: 2,115


Return to How do I....?

Who is online

Users browsing this forum: Christmas, Colludium, irina, minigame and 7 guests