Quote
Originally posted by Legion:
**Hey
Im having ALOT of trouble in figuring out how to map the gun locations on sprites in the shan resource. Basically, the 'orbital path' never seems to track the ship properly.
In addition, when I render the sprites and insert them into the shans, the very centre pixel of the render is never the part of the ship that stays in the same place, is this a CRITICAL problem? (......this is hard to explain) Must the sprite spin on an axis which is exactly centered in the window?
I hope this all makes sense. Any help would be apreciated.
**
At what angle are you rendering your ships?
Actually, the center pixel of the render is not going to be the same (location on the ship) if you render the ship at a non-vertical angle. What's important is that the ship rotates about a point that's centered in the middle of the render. Did that make sense to you? Basically, if the origin is centered in the middle of the render, and the ship rotates about that point, then you should be fine.
To get the orbital path to track the ship correctly, just play around with the up and down compressions. If you rendered the ship at 45° above the plane of the ship, then you could simply copy the compression settings from the ship data files.
Matrix
------------------
"Nothing is fool-proof to a sufficiently talented fool."