About Store Forum Documentation Contact



Post Reply 
Attach entities to Terrain
Author Message
Corrado Offline
Member

Post: #1
Attach entities to Terrain
Hello,

do you have some function to attach the statics mesh to the terrain ?
(I think other terrain parts each with some instances of one mesh)

Corrado
04-10-2009 08:02 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
Re: Attach entities to Terrain
you can take a look at the helper functions inside Mesh.h

Code:
Struct Mesh
{
  ..
   Mesh& add       (Mshb     &mshb          ); // add Mshb     to self
   Mesh& add       (MeshPart &part          ); // add MeshPart to self
   Mesh& add       (Mesh     &mesh          ); // add Mesh     to self
04-10-2009 08:10 PM
Find all posts by this user Quote this message in a reply
Post Reply