| 09-18-2003, 07:43 PM | #1 |
Yes I have read the tutorial, so don't give me that schtick. Anyways, I wanted to have the marine shoot fire instead of bullets (firebat anyone?). I copied the emiiters from the space orc, and everything works fine except that the fire when it comes out of the gun shoots upward instead of out of the gun. Is there a way anyone knows how to "rotate" an emitter? |
| 11-05-2003, 02:38 AM | #2 | |
Quote:
yes, but it's not as easy as logic would tell you it should be. Go here: http://www.engin.umich.edu/dept/aero...t3DApplet.html This applet lets you convert "eulers" to "quaternions." I've posted a fairly good explanation of what those two terms are and how they work (do a search of the forums using those tow words - heck, it may even be linked at the bottom now :) ), but to make a long story short, "eulers" are the way normal people describe an object's rotation, while "quaternions" are a weird system that the game uses. To make a long story short, you're going ot have to manually insert "code" into the mdl that tells the emitter to be rotated. If you look above in the mdl, you'll be able to see that all bones have many rotations at particular animations. You can copy that syntax and use the numbers from this applet as your input values into the emitter itself (rotation infor goes at the bottom of the emitter). In the applet, the top of the "airplane" represents the direction the emitter is emiting. If none of this made any sense, let me know, and I'll try to go a bit more into detail. But do search for the other posts I made about this first; they may help make thigns clear. |
