How do I make smooth collisions?

Get help using Construct 2

Post » Wed Jul 09, 2014 10:56 am

I have a game where I have a concave object and a player object and when player object collides with the concave object, it(player) should slide without getting stuck in the concave object. Player object has physics, 8 direction and solid behaviours. concave object has physics and solid behaviours. PLEASE HELP!!
Untitled-1.png
You do not have the required permissions to view the files attached to this post.
B
14
S
2
Posts: 24
Reputation: 848

Post » Wed Jul 09, 2014 1:06 pm

I think (not sure) may be physics and solid behavior in a same object creates the issue.

Also

Check collsion points of that concave object. Needs more collision points I guess(as that is an object with hole inside) . Change that small round object's collision to circle
Image
B
31
S
7
Posts: 197
Reputation: 2,497

Post » Wed Jul 09, 2014 4:43 pm

I'll try it... THANK YOU
B
14
S
2
Posts: 24
Reputation: 848

Post » Wed Jul 09, 2014 6:57 pm

Not sure you can get this without some kind of custom plugin-- Round geometry is really hard to emulate using points (which is why we have the "circle" collision box setting)

It would be cool if you could specify arcs between points in the collision editor. Maybe one day. It will allow us to make domes and other objects that are only partly round, or concave.
B
5
Posts: 10
Reputation: 250

Post » Wed Jul 09, 2014 8:41 pm

So there is no way of making collisions smoother for my game... :(
B
14
S
2
Posts: 24
Reputation: 848

Post » Wed Jul 09, 2014 8:50 pm

I have the same problem, im trying to make my character be able to push things around, so i added platform and physics behavior to my player, and physics behavior to movable objects.
although both player and moveable object are square shaped for now, still their collision doesn't work properly. they do collide but my player is able to pass trough the object.. anyone has a solution for this?
B
4
Posts: 12
Reputation: 224

Post » Thu Jul 10, 2014 1:49 am

Post capx will check
Image
B
31
S
7
Posts: 197
Reputation: 2,497

Post » Fri Jul 18, 2014 5:59 am

Roroxnet, just saw this in the manual. I don't know if this is the problem with your physics objects passing through each other but posting anyway (under physics conditions):


Is enabled
True if the physics behavior is currently enabled. When disabled the physics body is completely removed from the physics simulation, so other physics objects will pass through the object.
B
12
S
1
Posts: 6
Reputation: 583


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, PROxMTswatTR and 14 guests