Need help about gravity and physic behavior.

For questions about using Classic.

Post » Sun Feb 20, 2011 7:58 am

How can i change the gravity direction in game (by action)?

Thank so much for reading.
B
2
G
1
Posts: 15
Reputation: 480

Post » Sun Feb 20, 2011 8:48 am

Assuming you're using the default Platform engine, go to whatever sprite you want to change gravity direction for and click the Platform tab Set Gravity Direction is under Settings.
B
2
G
1
Posts: 22
Reputation: 494

Post » Sun Feb 20, 2011 9:09 am

But I'm not trying to make a platform game... It have a kind of physic.
B
2
G
1
Posts: 15
Reputation: 480

Post » Sun Feb 20, 2011 10:08 am

Sorry. I must've read it wrong. I've been working on the Physics engine and all I've figured out is how to reverse gravity by making it negative. I don't know much about this engine, so I couldn't figure out anything else.
B
2
G
1
Posts: 22
Reputation: 494

Post » Sun Feb 20, 2011 3:24 pm

You could set off the gravity and add a force towards a position or a direction, as you wish. This can be done with actions.
B
50
S
16
G
7
Posts: 59
Reputation: 6,365


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 8 guests