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: 227
Joined: Fri Aug 06, 2010 7:21 am
Location: Planet Earth
Contact:

arc and rotation

Post by Fox in the Fog » Sun Jun 05, 2011 10:49 am

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 44 times
Image

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 » Sun Jun 05, 2011 12:16 pm

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: 227
Joined: Fri Aug 06, 2010 7:21 am
Location: Planet Earth
Contact:

Re: arc and rotation

Post by Fox in the Fog » Sun Jun 05, 2011 12:21 pm

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
Image

User avatar
Fox in the Fog
Private First Class
Private First Class
Posts: 227
Joined: Fri Aug 06, 2010 7:21 am
Location: Planet Earth
Contact:

Re: arc and rotation

Post by Fox in the Fog » Sun Jun 05, 2011 12:37 pm

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 52 times
Image

User avatar
Fox in the Fog
Private First Class
Private First Class
Posts: 227
Joined: Fri Aug 06, 2010 7:21 am
Location: Planet Earth
Contact:

Re: arc and rotation

Post by Fox in the Fog » Mon Jun 06, 2011 2:13 pm

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)
Image

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 » Wed Jun 15, 2011 3:27 am

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 » Wed Jun 15, 2011 9:25 am

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: 227
Joined: Fri Aug 06, 2010 7:21 am
Location: Planet Earth
Contact:

Re: arc and rotation

Post by Fox in the Fog » Wed Jun 15, 2011 6:59 pm

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

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests