accessing submeshes using meshbuffers

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
EvIl_DeViL
Posts: 89
Joined: Tue Nov 06, 2007 4:49 pm

accessing submeshes using meshbuffers

Post by EvIl_DeViL »

HI! do you know how to access to singles submeshes using meshbuffers?
I searched for a while in the forum but i couldn't find something useful...
I need to open a castle's gate.
don't answear me something like "use singles animations" because if I have "n" door in a room i don't want create "n!" animations...
even ik nodes... ok for door but if I need other transformations?
I think also I can do something better instead creating different files for every object i need to transform.
it would be great if you can post a couple lines of snipphet
because my

Code: Select all

meshmap->getMeshBufferCount()
count 47 but max says "hey man! they're 35..." (after select all)
thank you!!!
Post Reply