SetPivotPoint GetpivotPoint for a sceneNode

What it says on the tin: a place to discuss proposed new features.
Post Reply
User avatar
cose
Halfling
Posts: 46
Joined: Thu Jul 24, 2008 5:48 pm
Location: Marseille
Contact:

SetPivotPoint GetpivotPoint for a sceneNode

Post by cose »

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.

User avatar
sinbad
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 19265
Joined: Sun Oct 06, 2002 11:19 pm
Location: Guernsey, Channel Islands
x 65
Contact:

Post by sinbad »

You can already do this via node parenting.

User avatar
cose
Halfling
Posts: 46
Joined: Thu Jul 24, 2008 5:48 pm
Location: Marseille
Contact:

Re: SetPivotPoint GetpivotPoint for a sceneNode

Post by cose »

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

:mrgreen:

User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
x 179
Contact:

Re: SetPivotPoint GetpivotPoint for a sceneNode

Post by jacmoe »

OMG You actually waited almost 3 years for this? :shock:
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.

User avatar
cose
Halfling
Posts: 46
Joined: Thu Jul 24, 2008 5:48 pm
Location: Marseille
Contact:

Re: SetPivotPoint GetpivotPoint for a sceneNode

Post by cose »

i forgot to post the answer here many years ago :wink:

Post Reply