Hi Charles,

Yes, I ran into exactly the same problems when I tried to implement a small 
rotating turret yesterday. As you say, 'Can Rotate' affects all layers above 
it, But layers are displayed in order from top down, so to have the hull under 
the turret, it rotates as well.

I tried one thing that sort of worked:

Basic Piece - Nothing
Layer - Hull Images, one for each facing
Can Rotate - Hull De-rotate - ^A = left, ^S = right
Layer - Turret
Can Rotate - Turret rotate - ^S = left, ^A = right
Other Stuff


This actually worked, except that the hull ends up being rotated twice to get 
it bak to where it is supposed to be which blurs its image.

I think Iam going to have to go back to multiple turret images, one for each 
facing. I only have 6 facings, so it isn't too bad.

Regards,
Brent.
*********** REPLY SEPARATOR ***********

On 18/06/2006 at 4:16 PM The Sutherlands wrote:

Brent wrote :

You can do this now. The 'Can Rotate' trait only affects traits below it,
so make your last two traits 'Can Rotate' followed by the turret layer.

I think that is backwards actually. If the trait only affects things below
it you could never rotate the actuall [piece].

Tried putting the rotate and layer in different order and got some
results...but...

This 'kind of' works. You can rotate the hull seperately but not the
turret. So you have to rotate the hull till the turret is offset to the
correct angle and then rotate the whole thing back to the correct position.
A little cumbersome. And if you have a [move fixed distance] trait it gets
all hosed due to the double rotation commands. Now if you reverse the order
and make the hull the layer and the turret the piece it would be
perfect...except now the hull shows on top of the turret but you still have
the 'move fixed distance] problem.

Is there some other way of doing this that I am not seeing?

Charles

[Non-text portions of this message have been removed]


 
____________________________________________________________
Brent Easton                       
Analyst/Programmer                               
University of Western Sydney                                   
Email: [EMAIL PROTECTED]



[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/IMSolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/vassalengine/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to