How do I simulate physics/ball tossing

Get help using Construct 2

Post » Sat May 13, 2017 8:37 pm

First, I apologize if this information is in another post somewhere. I looked, but couldn't find anything - though, my non-understanding probably flubbed the process.

I am having trouble with the physics actions. It is most likely stemming from my mental struggles with physics.

I want to set up two different conditions/events/actions but (a) they are very similar and (b) I don't know how to do it.

For both situations, i would like to move an object away from the user touch/drag and release at a speed and distance relative to the speed/distance the user "tosses" it. (ie, a shorter/quicker line would mean a short distance/slow speed and vice versa).

In situation 1, the object will be standing still. In situation 2, the object will be falling and must be caught and tossed back "up". Not sure if this difference matters, but figured I'd tell you in case it does.

ALSO, with both, I would like to ensure the object rotates while traveling and travels in a path similar to an arc (again, angle dependent upon users "toss").

I know all of this is a lot. And, I apologize. Even a small bit of help with it would be appreciated.
Posts: 5
Reputation: 337

Post » Sun May 14, 2017 1:23 am

You might wanna have a look at this thread and ask the author to reupload the .capx, looks like that's what you need.
(Also, in the future, have a look at this post, it usually answers your normal questions.)

For a simple and short example, I have created an example .capx for you.
This will suffice for your situation 1 and should give you help starting your project.

If you need more help, don't hesitate to post a reply.
"We can't solve problems by using the same kind of thinking we used when we created them."
- Albert Einstein
Posts: 528
Reputation: 7,091

Post » Sun May 14, 2017 6:13 pm

Awesome. Thank you. I was trying to find the answer on previous posts, but i guess the search terms I used weren't normal dev terms.
Posts: 5
Reputation: 337

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 18 guests