arc and rotation

Questions and answers about the how and why of making maps.
Post Reply
User avatar
fox in the fog
Private First Class
Private First Class
Posts: 237
Joined: Fri Aug 06, 2010 7:21 am

arc and rotation

Post 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!
Attachments
Prova.bzw
(279 Bytes) Downloaded 138 times
anomaly
Private First Class
Private First Class
Posts: 220
Joined: Tue Jul 26, 2005 10:32 pm
Location: Gainesville Florida

Re: acr and rotation

Post 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
User avatar
fox in the fog
Private First Class
Private First Class
Posts: 237
Joined: Fri Aug 06, 2010 7:21 am

Re: arc and rotation

Post 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
User avatar
fox in the fog
Private First Class
Private First Class
Posts: 237
Joined: Fri Aug 06, 2010 7:21 am

Re: arc and rotation

Post 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 :)
Attachments
Ok_Version_3.bzw
(60.27 KiB) Downloaded 149 times
User avatar
fox in the fog
Private First Class
Private First Class
Posts: 237
Joined: Fri Aug 06, 2010 7:21 am

Re: arc and rotation

Post 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)
User avatar
hutty
Private First Class
Private First Class
Posts: 227
Joined: Thu Jul 02, 2009 8:09 pm

Re: arc and rotation

Post 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?
For all of you who have asked what a hutty is, there is one as my avatar.

instant map... just add water
User avatar
mahem1
Private First Class
Private First Class
Posts: 91
Joined: Thu Jan 14, 2010 2:18 am
Location: Antarctica

Re: arc and rotation

Post 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.
Lag makes me miss all of the good stuff.
And random bans..........
Image
User avatar
fox in the fog
Private First Class
Private First Class
Posts: 237
Joined: Fri Aug 06, 2010 7:21 am

Re: arc and rotation

Post by fox in the fog »

Thank you mahem1 for the suggestions, done for make experience :)
Hutty, I used spin values :)
Post Reply