Swapping meshes

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
ktyrer496
Posts: 15
Joined: Tue Nov 20, 2007 2:22 pm
Location: Preston, UK

Swapping meshes

Post by ktyrer496 »

hi,

im looking to swap a mesh during the game, so when the vehicle gets damaged it changes to a mesh which has broken bits and stuff. ive got it to change the texture but obviously it can only go sof ar with a texture, and i want wings hanging off etc!

any help would be appreciated
The idea of war is not to die for your country, but to make the other bastard die for his!
arras
Posts: 1622
Joined: Mon Apr 05, 2004 8:35 am
Location: Slovakia
Contact:

Post by arras »

virtual IAnimatedMesh * IAnimatedMeshSceneNode::getMesh()
virtual void IAnimatedMeshSceneNode::setMesh(IAnimatedMesh *mesh)
Post Reply