RedcrowProd
Member
|
adding meshes
hey,
pretty simple question, can you create a Mesh in the EE and set it up in the meshes cache manually ? if so, how ?
i am trying to manually set up a mesh for an animatable object with custom mesh, but it seems that it requires a meshptr and its not using my mesh ?
thanks
(This post was last modified: 11-10-2019 04:07 AM by RedcrowProd.)
|
|
11-10-2019 03:14 AM |
|
Esenthel
Administrator
|
RE: adding meshes
Mesh mesh;
MeshPtr mesh_ptr=&mesh; // this is OK
|
|
11-10-2019 04:27 AM |
|
RedcrowProd
Member
|
RE: adding meshes
oh yeah ok i was doing it this way, i just didnt read the comment correctly ^^'
// get object file name ID (this will return ID of the object file name assuming that the object is stored in the cache and its file name was created using 'EncodeFileName')
so it doesnt generate a UID by itself, and only populate with encodefilename
thanks !
|
|
11-10-2019 03:59 PM |
|
Esenthel
Administrator
|
RE: adding meshes
No, this doesn't set any ID, just remembers pointer.
The object will not be stored inside cache.
MeshPtr is a pointer, it can point to elements inside cache and outside.
|
|
11-10-2019 05:28 PM |
|