Page 1 of 1

arc and rotation

Posted: Sun Jun 05, 2011 10:49 am
by Fox in the Fog
I can't rotate an arc... I've tried in all ways, all parameters 10° 20° 180°....Nothing. It's maybe that arc can't be rotated and only box and pyramid can do that?
I post a very easy example.... and than If necessary also my map (if I can't solve my problem by myself):D
Thanks for your time!

Re: acr and rotation

Posted: Sun Jun 05, 2011 12:16 pm
by anomaly
not sure why you can't rotate the arc, but have you tried spin?

Code: Select all

arc
 position 50 50 0
 size 70 20 1
 spin 90 0 0 1
 ratio 1
end

Re: arc and rotation

Posted: Sun Jun 05, 2011 12:21 pm
by Fox in the Fog
Oh yes! That worked... now, in this way the arc is rotated... Thank you! But still not understand why the "rotation" parameter doesn't work
Fox

Re: arc and rotation

Posted: Sun Jun 05, 2011 12:37 pm
by Fox in the Fog
anomaly... I didn't see an error :shock: :cry:
on the red and purple base... the towers are Ok, all right (an arc 90 of rotation and the other, with spin, in the other way like was -90 of rotation). On the blue and green bases.... after I have edit the file adding the spin parameters (because the arc didn't rotate only with rotation values) all the tower's arcs of these two bases are invisible!! I post my map so you can test it and see... because my English isn't so good :)

Re: arc and rotation

Posted: Mon Jun 06, 2011 2:13 pm
by Fox in the Fog
I have tried also to rotate the arc with pyBZEdit... but nothing! And.. I tried also to re-add the arcs now are invisible in blue and green bases, but in vain :(
What should I do? (with a text editor)

Re: arc and rotation

Posted: Wed Jun 15, 2011 3:27 am
by hutty
by this posthttp://my.bzflag.org/bb/viewtopic.php?f=66&t=17426

I assume you solved the problem... my question is ... how did you?

Re: arc and rotation

Posted: Wed Jun 15, 2011 9:25 am
by mahem1
I haven't play around with your map file.
But you rotated the arc 90 degrees.
So assuming the arc was symmetric it would't 'change'.
Maybe color one face a color then try rotation and see what happens.

You might want to specify more perimeters when you make arcs though.

Re: arc and rotation

Posted: Wed Jun 15, 2011 6:59 pm
by Fox in the Fog
Thank you mahem1 for the suggestions, done for make experience :)
Hutty, I used spin values :)