How do I (re-) start falling objects

Get help using Construct 2

Post » Mon Aug 31, 2015 10:45 am

Hello

I have following problem:

Example:
I create a ball which will fall on a slide and then sliding down. At the end of the slide there is a gate. At the gate the ball stops. When i open the gate (move the gate back/away), the ball doesn't fall again. It stays in the air.
All objects have the physics behavior.

Any idea?

Thx

Sorry for by bad english. Hope you understand my problem.
B
14
S
4
Posts: 23
Reputation: 1,016

Post » Mon Aug 31, 2015 11:31 am

From the Physics in Construct 2: The basics

"Note that objects which have come completely to a stop, and are not moving or rotating at all, are "put to sleep" by the simulation. Then, they don't need processing any more. If the object is hit by another one it "wakes up" and starts using processing again."

You could apply an impulse when physics is "sleeping" adding any another conditions if wanted..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Tue Sep 01, 2015 4:32 am

Thank you. It work's.
B
14
S
4
Posts: 23
Reputation: 1,016


Return to How do I....?

Who is online

Users browsing this forum: Google [Bot] and 29 guests