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 » Tue Oct 07, 2008 9:46 pm

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.
0 x

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 2
Contact:

Post by sinbad » Wed Oct 08, 2008 10:39 pm

You can already do this via node parenting.
0 x

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 » Wed Apr 27, 2011 2:06 pm

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:
0 x

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

Re: SetPivotPoint GetpivotPoint for a sceneNode

Post by jacmoe » Wed Apr 27, 2011 4:52 pm

OMG You actually waited almost 3 years for this? :shock:
0 x
/* 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 » Wed Apr 27, 2011 5:11 pm

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

Post Reply