Relative Motion in Ogre3d
Posted: Mon Feb 07, 2005 9:51 pm
Hey, I am new to ogre3d and I was wondering the easiest way to pull this off:
I want to make a very simple fighting game similar to Soul Caliber II. So, I want to have two models, and both of them move relative to the other one. So, if you hit left, your avatar will circle the enemy and vice versa.
It's possible to do this one-way by making one object the child of the other. The problem is that do to this both ways (IE, both avatars move relative ot ecah othre) would make circular children.
What's the easiest way to handle this?
I want to make a very simple fighting game similar to Soul Caliber II. So, I want to have two models, and both of them move relative to the other one. So, if you hit left, your avatar will circle the enemy and vice versa.
It's possible to do this one-way by making one object the child of the other. The problem is that do to this both ways (IE, both avatars move relative ot ecah othre) would make circular children.
What's the easiest way to handle this?