Create Lift [RESOLVED]

Get help using Construct 2

Post » Mon Jun 25, 2012 8:31 pm

I'm new to both Construct and Box2D physics, so I apologize for the newbie question.

https://dl.dropbox.com/u/7066157/seesaw.capx

I've created a seesaw. I'd like the user to be able to attach multiple balloons to a hook.

So I've got 3 parts: a balloon, a string, and the seesaw hook.

I've looked through the joint and pin tutorials, but I've so far been unsuccessful in getting the results I want, aka:

The balloon is attached to the string, which is attached to the hook. The balloon has a certain amount of lift, and raises one end of the seesaw up to a height. As the user attaches more balloons, the seesaw is lifted up higher.

So I'm not understanding what sort of attachments I should be using (distance joints, revolute joints, pin), and I'm not sure how to correctly apply force.

https://dl.dropbox.com/u/7066157/seesaw.capx

Any ideas or pointers on where to look?tss00042012-08-07 20:31:40
B
4
Posts: 6
Reputation: 587

Post » Tue Jul 03, 2012 12:46 am

The pin behavior doesn't work well with the physics behavior. Revolute joints will work fine, you can swap them out with the other joints if you wish and see the difference.

To create lift just apply a force up on the balloon:
"Ballon:Apply force 100 at angle 270", change "100" to whatever value you like to adjust the amount of lift.
B
79
S
24
G
54
Posts: 4,741
Reputation: 40,745

Post » Tue Aug 07, 2012 8:27 pm

Thank you so much, R0J0hound! This was really helpful
B
4
Posts: 6
Reputation: 587


Return to How do I....?

Who is online

Users browsing this forum: dieblume86, Kagubro, pinellos and 2 guests