Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / simple particle system

Author
Message
Dmas_Zero
20
Years of Service
User Offline
Joined: 9th Feb 2004
Location:
Posted: 7th Mar 2004 17:04
i need to make a paritcle system for my space-simulator game, i need it to be behind the spaceship and make it look like the spaceship is in move, i did something simple but i'm having problem to define the position.
someone can help me do that?
MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 7th Mar 2004 17:13
Are you thinking about making a particle system, or using the in-built ones for DB(P)?

To get the particles to follow, just do something simple like this.

x1#=object position x(Your spaceship objnum here)
y1#=object position y(Your spaceship objnum here)
z1#=object position z(Your spaceship objnum here)

Then, you can position the particles to move as your spaceship does.

position particles particlenum,x1#,y1#,z1#

You might need to tweak the positioning numbers a little(z1#-1 or something), so that they follow behing the way you want.



A book? I hate book. Book is stupid.
Dmas_Zero
20
Years of Service
User Offline
Joined: 9th Feb 2004
Location:
Posted: 7th Mar 2004 17:28
but i use a lot of rotations to the ship, so i need to define the paritcles position according to ship position and rotation no?

Login to post a reply

Server time is: 2024-11-26 07:32:43
Your offset time is: 2024-11-26 07:32:43