Blender placement question

A place for users of OGRE to discuss ideas and experiences of utilitising OGRE in their games / demos / applications.
Nazrix
Halfling
Posts: 47
Joined: Tue Oct 29, 2002 9:18 pm

Blender placement question

Post by Nazrix »

I created a room in Blender with each wall being seperate, and also a seperate door. It all looks great in ogre, but I want to be able to rotate the door mesh to simulate opening the door.

The problem is that it rotates around the center of the world (where the sceneNode is set)

Is there a way to get around this?
reimpell
OGRE Contributor
OGRE Contributor
Posts: 570
Joined: Mon Mar 01, 2004 10:35 am
Location: Hamburg, Germany

Re: Blender placement question

Post by reimpell »

Nazrix wrote:The problem is that it rotates around the center of the world (where the sceneNode is set)
You can use skeletal animation with the animations "open" and "close". Also, you can shift the mesh relatively to the objects origin in Blender or use Blender's world origin and export in world coordinates.
Nazrix
Halfling
Posts: 47
Joined: Tue Oct 29, 2002 9:18 pm

thanks

Post by Nazrix »

Thanks. I didn't even think of using skeletal animation. I think that would be a pretty good option.