Game Development Community

Particle Alignment for TGEA 1.8.1

by Mike Rowley · 03/22/2009 (11:30 am) · 5 comments

This is a port of Adam Larson's Particle Alignment Resource for tge
This resource was ported to tgea 1.8.1 and works.

You'll need this download.

Then, just copy the files over to engine/source/fx/ overwriting your files. 2 Files and a readme are included.

The original thread with instructions is above.

Quote:
The particle alignment resource allows the user to specify an alignment axis for particles in a particle emitter datablock. Currently the particle engine supports billboarding particles so they always face the camera, or aligning the particles so that they face along the velocity axis. With this, particles can be aligned to face along an absolute vector.

A simple usage example would be creating simple wave particles emitting from the player when running through shallow water. The particles would have an alignment axis of 0,1,0 (straight up) so they would look like they were rendering on the surface of the water.

There are two fields added to the particle emitter datablock: alignParticles - which should be set to true to enable absolute axis alignment; and alignDirection - which is the vector along which each particle should face.



Enjoy.

#1
03/22/2009 (11:44 am)
Nice job Mike! I was just thinking of this very thing the other day.
#2
03/22/2009 (5:34 pm)
@Mike,

Sweet work man. :) Thanks for posting this!

Will
#3
03/22/2009 (6:30 pm)
Thankyou. It's a cool resource. Now back to porting Ben Garneys forest pack to tgea. (now this is an adventure in porting. sheesh....)
#4
03/22/2009 (9:40 pm)
Forest Pack for TGEA, now thats an ambitious port. I took a look at it a while back and it was clear that it would be a royal PITA to get working.
#5
05/27/2009 (9:09 am)
this works without any changes in T3D