Page 1 of 1

does orge support parenting?

Posted: Mon Oct 03, 2005 8:21 am
by ron
does anyone have a problem with linking/parenting meshes to bone objects?

i have a mesh object that i want to parent to a joint,so that my character can be animated while holding the said mesh object.But when i try to export my mesh,it crashes.

what i want to ask is if orge supports parenting?

im a maya user btw
appreciate any help on this :)

Posted: Mon Oct 03, 2005 11:40 am
by nfz
Ogre does support attaching other scenenodes that have a moveable object attached to individual bones. I don't think the Maya exporter supports this directly, it is currently done through code or through a scene description interchange format.

Posted: Tue Oct 04, 2005 2:27 am
by ron
may i know who or where i can get that particular code or scene description interchange format from?

Posted: Tue Oct 04, 2005 10:14 am
by CombatWombat
The mis-spelling of Ogre as Orge has always struck me as a bit of a phonetic freudian slip, but this topic title certainly takes the cake :D

Play it safe now, kiddies ;)

To redeem my off topic post, take a look at SkeletonInstance::attachObjectToBone - you can get a SkeletonInstance from an Entity with Entity::getSkeleton.

Posted: Fri Oct 07, 2005 3:57 pm
by metaldev
@ ron

also, using the .scene file format allows you to describe a heirarchy of nodes / entities to ogre. I made a scene manager for maya that allows you to export this file.


grab it HERE
here is the topic:
http://www.ogre3d.org/phpBB2/viewtopic. ... 875#104875