Calculating triangle directions

Blitz3D Forums/Blitz3D Programming/Calculating triangle directions

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Rottbott's method should work fine.

How are you generating the random vectors?

My guess is that you are using Rnd(1.0) whereas to get the tri's to move in any direction you should use Rnd(-1.0,1.0)

For a more perfect? explosion just calculate each triangles normal from its 3 verts to get the direction vector you need the tri to move.