Quick question using the Ogre3D i've been trying to figure a way to turn the upper body of a character mesh towards the way of the camera I was wondering if the easiest way was to create a Contraint bone in blender for the spine of the armature and bind that to the camera could that work?
Ogre3d…??
You appear to be posting to the wrong forum
lol
JOC said:
Ogre3d....??
You appear to be posting to the wrong forum :p
oh wait this isn't the ogre3D forums lol
j/k I meant momoko's Ogre xml importer
hehe, I had a feeling you meant that - but couldnt resist :D I have a strange sense of humour, but seem to get a lol of lols from basixs !!
Don't really have an answer for you here, but your last solution does seem to be the opposite to your initial question.
Do you want to turn the body towards the camera (so the camera stays still), or align the camera with the body (so the camera moves) ?
well the original issue was detaching the original bone track with another which i discussed with momoko the next one is moving the torso since its a TPS i need the top half of the body to move. I was thinking of using an IK bone that the top torso is constraint to and set it in front of the camera which is to be controlled by the mouse.
jME does not support IK
hmm are their any current solutions to this i've been fooling around with the ogre coding code a lot but to no real success. Ideally or to some extent I'd like to create a class that had two or more controllers for handling specific bones I could go through each one by one and get a rough comparison of which bones which but… are their any ways anyone else has tried??
Try just creating an animation for turning through the full range using standard tools. Use a simple function to return a frame reference for the desired rotation. Then blend to that.
I haven't worked with ogre loader so I don't know if/how to implement it with that.
You can control bones directly with OgreLoader, see the TestTurretControl class.
Momoko_Fan said:
You can control bones directly with OgreLoader, see the TestTurretControl class.
hmm yes thx thats basically what i'm looking for thx