Hi!
Is it possible to calculate center of an imported mesh ( in my case .md3)?
I would like to rotate it in its center, but I need my origin point where the main mesh's point is, because of parenting.
Regards,
Jake
Mesh rotation
Re: Mesh rotation
You can maybe use the center of the boundingbox.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm