How do I an object with physics does not slide on top of a m

Get help using Construct 2

Post » Mon May 12, 2014 1:01 pm

Hi!

I am creating a game with objects using physical behavior, and a platform using sine and fícisa behavior. When a physical object is on top with a sine object, it slides. I've changed the parameters of friction and density and solves nothing.
You guys suspect the reason?

This is what happens: kohl.com.br/New

Thank you!
B
5
S
2
Posts: 10
Reputation: 691

Post » Mon May 12, 2014 4:56 pm

For some reason the physics behavior ignores the sine behavior movements. If you script the movements then the box moves along the platform, but not quite at the same speed. If you use a pin behavior then the box sticks to the platform but other problems rise. Here is an example capx to display some of the above.
You do not have the required permissions to view the files attached to this post.
composer - multimedia artist
www.eli0s.com/en/
B
68
S
26
G
4
Posts: 1,146
Reputation: 9,649

Post » Wed May 14, 2014 5:47 pm

Nice, eli0s. I also thought about creating using the PIN, but this leaves the movement of unnatural objects.
But I think this is really the only way.
Thanks for capx! (:
B
5
S
2
Posts: 10
Reputation: 691

Post » Wed May 14, 2014 6:05 pm

You're welcome!
composer - multimedia artist
www.eli0s.com/en/
B
68
S
26
G
4
Posts: 1,146
Reputation: 9,649

Post » Thu May 15, 2014 3:43 pm

I managed to alleviate this problem, adding the VelocityY platform in VelocityY of the object above the platform.
You do not have the required permissions to view the files attached to this post.
B
5
S
2
Posts: 10
Reputation: 691

Post » Thu May 15, 2014 4:37 pm

Nice, although I don't understand why the overlapping is on the X axis. For the most part it works though. Some issues remain when the blue box is on the left/right edges of the platform. But these might be irrelevant with your actual gameplay mechanics :)
composer - multimedia artist
www.eli0s.com/en/
B
68
S
26
G
4
Posts: 1,146
Reputation: 9,649


Return to How do I....?

Who is online

Users browsing this forum: Malhog, plinkie, R0J0hound, Syazanie Amirin and 9 guests