SetPivotPoint GetpivotPoint for a sceneNode
- cose
- Halfling
- Posts: 46
- Joined: Thu Jul 24, 2008 5:48 pm
- Location: Marseille
- Contact:
SetPivotPoint GetpivotPoint for a sceneNode
it would be nice if we could have a new feature to set up the pivot point coordinates for a SceneNode in order to achieve more control like rotations.
- sinbad
- OGRE Retired Team Member
- Posts: 19269
- Joined: Sun Oct 06, 2002 11:19 pm
- Location: Guernsey, Channel Islands
- x 66
- Contact:
- cose
- Halfling
- Posts: 46
- Joined: Thu Jul 24, 2008 5:48 pm
- Location: Marseille
- Contact:
Re: SetPivotPoint GetpivotPoint for a sceneNode
i found out there was a good addons project running ( MeshMagick ) that exposes the way how to modify a mesh pivot point :
void TransformTool::calculateTransform(MeshPtr mesh) in
https://ogreaddons.svn.sourceforge.net/ ... rmTool.cpp
void TransformTool::calculateTransform(MeshPtr mesh) in
https://ogreaddons.svn.sourceforge.net/ ... rmTool.cpp
- jacmoe
- OGRE Retired Moderator
- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
Re: SetPivotPoint GetpivotPoint for a sceneNode
OMG You actually waited almost 3 years for this?
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
- cose
- Halfling
- Posts: 46
- Joined: Thu Jul 24, 2008 5:48 pm
- Location: Marseille
- Contact:
Re: SetPivotPoint GetpivotPoint for a sceneNode
i forgot to post the answer here many years ago