How do I detect collision on diagonal terrain?

Get help using Construct 2

Post » Thu Nov 13, 2014 10:31 pm

I have followed @Ashley tutorial:

https://www.scirra.com/tutorials/253/ho ... ame/page-7

https://www.scirra.com/images/articles/ ... pabove.png

but detecting collision with enemy is working fine only on 'horizontal' terrain...

I am using tilemap with horizontal ( ___ ) and diagonal ( / or \ ) terrain,
and Construct 2 isn't detecting collision with enemy IF player is standing on diagonal terrain

it is not about collision polygon too...

both player and enemy are using platformer behavior

summing up: if player is standing on horizontal terrain and he is touched by moving enemy = collision is detected, if player is standing on diagonal terrain and he is touched by moving enemy = collision is not detected

@ArcadEd @Kyatric @alspal @jayjay maybe you know what to do or what I am doing wrong?
B
18
S
7
G
1
Posts: 783
Reputation: 4,237

Return to How do I....?

Who is online

Users browsing this forum: tarek2 and 19 guests