.Md2
-
- Posts: 29
- Joined: Thu Oct 25, 2007 5:58 pm
- Location: Florida
- Contact:
.Md2
Is it possible to join a weapon using other types of files like .md2 or a simple .3ds. OR does it has to be only b3d to be able to use joints in IRRLICHT?
Last edited by Yellow_Yackets on Wed Nov 14, 2007 11:30 pm, edited 1 time in total.
Y_Y
-
- Posts: 29
- Joined: Thu Oct 25, 2007 5:58 pm
- Location: Florida
- Contact:
You can however track the position of a vertex or two, and use that information to position your weapons.
This can be done through IAnimatedSceneNode->getMesh()->getMesh(TheFrameThatItsOn)->getMeshBuffer(TheMeshBufferThatTheVertexIsIn)->getVertices ()[TheIndexOfTheVertex].Pos
Cheers
This can be done through IAnimatedSceneNode->getMesh()->getMesh(TheFrameThatItsOn)->getMeshBuffer(TheMeshBufferThatTheVertexIsIn)->getVertices ()[TheIndexOfTheVertex].Pos
Cheers
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net