Testbox does not collide

Bugs will be moved here once resolved.

Post » Sun Sep 25, 2011 2:42 am

Well... title says pretty much all. Just open the game and you'll see him passing right through the floor... (Wich was set as solid, of course.)

http://dl.dropbox.com/u/40683395/Construct%202/Project%20Silver/One%20File%20Source/Silver%20Project.capx
B
4
G
1
Posts: 39
Reputation: 690

Post » Sun Sep 25, 2011 2:53 am

You have to give tile01 a physic behavior too.
Set its property immovable to yes (so it won't move), its collision mask to "bounding box" (as it is a rectangle) and the "testbox" collides with it as you intend to.

You could almost remove the solid behavior to it, but then your players falls through it. Adress the situation as you like.

New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 7,000
Reputation: 57,795

Post » Sun Sep 25, 2011 2:54 am

Physics objects only collide with other Physics objects. You need to add Physics to the floor (and set it to immovable) - and add physics to any other objects you want it to collide with!

Think of the physics world being a separate world pasted on top of your layout. Anything without physics is invisible in the physics world.

Edit: ninja'd!Ashley2011-09-25 02:54:37
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Sun Sep 25, 2011 5:29 am

Thanks a lot people! Continuing project...   
B
4
G
1
Posts: 39
Reputation: 690


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 3 guests