Particles gravity

For questions about using Classic.

Post » Wed Aug 24, 2011 6:24 pm

Hi again me -,-,
In my game obejct rotate around planet and i need set particles gravity to planet. (when object destroy, program creates a particles at objects position) Planet is in centre of window. Pls help me
B
24
S
4
G
2
Posts: 318
Reputation: 2,446

Post » Wed Aug 24, 2011 8:41 pm

You set the gravity angle to the angle between the particle object's and the planet object's position (with the angle() expression) on creation.

Here is an example:
particle_grav_angle.captulamide2011-08-24 20:41:52
Image
B
23
S
8
G
10
Posts: 1,820
Reputation: 8,242

Post » Fri Aug 26, 2011 10:05 am

Yes thx again a lot :) this is it :)
B
24
S
4
G
2
Posts: 318
Reputation: 2,446


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 2 guests