How do I make a solid tilemap to collide with solid spite?

Get help using Construct 2

Post » Tue Sep 22, 2015 8:02 pm

i try to make a Breakout arcanoid game in order to learn c2.

So, i have
- a tilemap with solid behavior for the walls and
- a ball with physics and solid behavior.

I expected that the ball will fall by gravity and hit a solid tilemap but the ball pass throug the wall.
I am stuck and i need your help.

Here is the project, http://www.mediafire.com/download/q8tt05qcvdll3iz/Breakout.zip
B
5
S
1
Posts: 11
Reputation: 397

Post » Tue Sep 22, 2015 8:19 pm

Why not use bullet behaviour with gravity instead of the physics behaviour?

Physics behaviour doesn't mix wel with other behaviours and an object with physics will allways pass through an object with solid behaviour.

From the Manual entry about physics :

"Another consequence is Physics won't respond to objects with the Solid or Jumpthru behaviors. These behaviors are totally redundant when using Physics and have no effect. Instead, use the Immovable property."
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Wed Sep 23, 2015 9:31 am

i change it to bullet behavior, is better now,

thanks !!!
B
5
S
1
Posts: 11
Reputation: 397


Return to How do I....?

Who is online

Users browsing this forum: MadSpy and 55 guests