Allow Static Geometry::Region to be children of a node

What it says on the tin: a place to discuss proposed new features.
Post Reply
.overlord.
Halfling
Posts: 52
Joined: Wed Jun 06, 2007 5:01 pm

Allow Static Geometry::Region to be children of a node

Post by .overlord. » Mon Dec 08, 2008 9:47 pm

Hi,

It'd be nice if staticgeometry could let you specify a scenenode to create it's childnodes on. Right now it does this

Code: Select all

void StaticGeometry::Region::build(bool stencilShadows)
	{
		// Create a node
		mNode = mSceneMgr->getRootSceneNode()->createChildSceneNode(mName,
			mCentre);
	
so after it builds i have to go in and reparent the nodes, etc (i do a bunch of node juggling), it'd be nice to be able to just specify this ahead of time.
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 » Tue Dec 09, 2008 9:59 pm

A pretty reasonable request, should also apply to InstancedGeometry.

I'll make a note of it on our roadmap.
0 x

Post Reply