How do I set Collision Radius

Just started using Construct 2? Post your questions here

Post » Sat May 02, 2015 6:23 pm

Hi!

Sorry if it was already discussed. (and for my english :) )
Playing around with Physics. My task is to set Collision Mask/Circle to custom radius. less or biger than the actual sprite is. To overlap or keep at distance sprites before collision occurs.
Could not find the option to set the Collision Mask/Circle radius value.
Temporaly ways i found 1) create another object (sprite) (smaller or bigger) included in physics but invisible. then pin visible sprite to it for visual representation.
2) set collision polygon to the radial shape less or bigger than sprite pixels. but i believe the radius should be faster to calculate than collision polygon.
what is the right way to do? Thanks.
B
7
S
3
Posts: 4
Reputation: 1,133

Post » Sun May 03, 2015 4:19 am

I don't think it matters. a sprite on top, or set the collision area bigger is the same thing. but you do have to be careful of how many points you have in your collision polygons.. I think it recommends 8 or less.
B
97
S
32
G
16
Posts: 1,200
Reputation: 16,682

Post » Sun May 03, 2015 5:49 am

you can also look into using is overlapping at offset depending on your need
B
42
S
17
G
2
Posts: 850
Reputation: 6,209

Post » Sun May 03, 2015 8:00 am

thanks for replies!
B
7
S
3
Posts: 4
Reputation: 1,133


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 0 guests