About physical

Get help using Construct 2

Post » Sat Jul 30, 2016 3:53 pm

I want to do something like in the picture, the piece of green carry the red, but the two pieces have physical. I tried and donot how to do it
Image
B
11
S
4
G
1
Posts: 410
Reputation: 2,752

Post » Sat Jul 30, 2016 4:33 pm

Just as in real live, you need a ground.

Set propertie 'Immovable' in the physics behavior of the green one to 'yes'.
Or let the green one rest on a ground sprite with propertie 'Immovable' set to 'yes'.
B
33
S
18
G
27
Posts: 2,442
Reputation: 20,348

Post » Sun Jul 31, 2016 9:59 am

That I do but not transported, when the green piece moves horizontally, the red part is not accompanying the green part, this falls :(

PD: The red piece has to be 'Immovable' No
B
11
S
4
G
1
Posts: 410
Reputation: 2,752

Post » Sun Jul 31, 2016 12:03 pm

Place a 'Immovable' ground under the green one. Set it invisible if you dont like to see it.
Only the ground = 'Immovable'. Do not set gravity on zero.

To move them you should stay in the 'Physcis' world. Means, applying forces.

Got to follow some physics tutorials.
B
33
S
18
G
27
Posts: 2,442
Reputation: 20,348

Post » Mon Aug 01, 2016 4:27 pm

Someone can do me a simple example? it does not work :(
B
11
S
4
G
1
Posts: 410
Reputation: 2,752

Post » Mon Aug 01, 2016 5:05 pm

B
33
S
18
G
27
Posts: 2,442
Reputation: 20,348

Post » Mon Aug 01, 2016 5:07 pm

Ty i love you :D
B
11
S
4
G
1
Posts: 410
Reputation: 2,752

Post » Tue Aug 02, 2016 3:27 pm

I have a question, if I put "sine", do not move at a time :(
B
11
S
4
G
1
Posts: 410
Reputation: 2,752

Post » Tue Aug 02, 2016 3:58 pm

Are you perhaps making a platformer? Instead of a physics game ?

Start up Construct 2. Choose New in the file menu. Now you have a list with templates.
Look for the template 'Platform 6 (slopes & moving platforms)'.

It explains how to 'stand' on a moving platform (using sine behavior).
B
33
S
18
G
27
Posts: 2,442
Reputation: 20,348

Post » Tue Aug 02, 2016 4:37 pm

Thanks
B
11
S
4
G
1
Posts: 410
Reputation: 2,752


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 12 guests