MeshBoundUnitParticles

From MegaGlest
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Model requirements for mesh bound particles

  • The model MUST be a an animation with a minimum of 2 frames!
  • The Mesh you want to use to bind your particles has no texture!

Ideally you do it like this ( The white triangle object is just so big to show you )
Meshbound.jpg

Hints

  • Make this triangle object very small, so you knwo exactly where the particle will be bound.
  • Make the triangle fully transparent so noone can see it ;-)
  • Dont't forget to animate the little triangle too!

Name of the Mesh

  • The name of the mesh you have to set in the xml is typically made by adding a number like ".000" to its name. The above example it is : meshname.000 or meshname.001 ....
  • To find out the real name of the mesh in the game, just put in any mesh name and start the game. It will output all meshnames it finds in the G3D to the console. Choose the one you wanted.

Result

Meshbound result.jpg