CopyMesh question

Blitz3D Forums/Blitz3D Programming/CopyMesh question

Adam Novagen(Posted 2009) [#1]
Heya,

I'm just wondering, does CopyMesh() work with animated meshes? Because I'm having a little trouble using it with one, but I don't have enough other test subjects to be certain.


Stevie G(Posted 2009) [#2]
Copymesh() only copies the geometry and some brush properties. I think you should be using copyentity for animated meshes otherwise you won't get copies of the children or bones.


Adam Novagen(Posted 2009) [#3]
I only need the geometry. It's for some Cel Shading stuff I'm doing. It works fine with static meshes but I don't get anything from animated ones.


Warner(Posted 2009) [#4]
Yes, an animated mesh could exist out of multiple meshes that are linked together using a parent-child hierarchy. You would have to copy (and place) each of it's meshes individually. Sort of like this:

You should provide an entitywidth/height/depth routine yourself. It can be found elsewhere on this forum.