Collision with sprite borders

Get help using Construct 2

Post » Sun Apr 28, 2013 8:39 am

Hi,

I've been playing around with C2 after doing the first tutorial and reading the tutorial on the platformer, and I think I've got the gist of things.

Though I have a problem. When trying to make a platform that isn't completely flat, my character just sits on the invisible borders of the sprite instead of on the line I've drawn.

Is there a way to change this?

Here is a capx of what I mean:

https://www.dropbox.com/sh/nx64pb7ggbha2c1/BzcOgmGerW
B
3
Posts: 1
Reputation: 227

Post » Sun Apr 28, 2013 10:25 am

@Tranquility

Hi,

if you open up your sprite in the editor and choose the set collision polygon icon ( bottom on the left ) you can then move the collision polygon to match your shape.
B
44
S
15
G
9
Posts: 1,096
Reputation: 11,013

Post » Sun Apr 28, 2013 10:48 am

@Tranquility
Yep, what spongehammer said! For me, however, it me awhile to figure out you could add additional points to the collision polygon by right click the hitbox and selecting add point.

Ya gotta be a bit careful with those. Adding a lot of points can cause some crazy physics reactions.
B
15
S
4
G
1
Posts: 168
Reputation: 2,177


Return to How do I....?

Who is online

Users browsing this forum: Baidu [Spider] and 26 guests