To create a geometry for ogreode I need the size of a node (in my case I want to create a OgreOde::BoxGeometry).
But what is the easiest way of getting it, when I only know the meshfile (the scale is no problem since I can get it form the node)? is it possible to get the actual size somehow?
Getting size of node (for OgreOde::BoxGeometry)
- charlie
- Greenskin
- Posts: 146
- Joined: Mon Nov 15, 2004 1:43 pm
- Location: Austria
- Contact:
- monster
- OGRE Community Helper

- Posts: 1098
- Joined: Mon Sep 22, 2003 2:40 am
- Location: Melbourne, Australia
- Contact:
Have a look at the MeshInformer stuff.
What springs to mind immediately is;
But there are other methods that will automatically create dynamic or static boxes for you, based on meshes.
I think the demos show this.
What springs to mind immediately is;
Code: Select all
OgreOde::MeshInformer::getSize(Mesh* mesh);I think the demos show this.
- charlie
- Greenskin
- Posts: 146
- Joined: Mon Nov 15, 2004 1:43 pm
- Location: Austria
- Contact: