Low Caliber Forum
Help with a rotating mover.

This topic can be found at:
http://lowcaliber.com/eve/forums/a/tpc/f/3886011002/m/7716066124

Mon September 08 2003, 02:07 PM
Faison
Help with a rotating mover.
Hey Guys,

I am trying to get a 6 sided cylinder to rotate and show a facet randomly when a lever is pulled. I have looked at some tutorials but none seem to help with the problem. any guidence would be helpful. If this is a scripting thing let me know or if it something I can do in the editor.


Thanks in advance.


Faison
Mon September 08 2003, 02:35 PM
Manowar
hmmm..... Big Grin
Mon September 08 2003, 04:37 PM
Manowar
deja vu?
Mon September 08 2003, 05:19 PM
Faison
yup only thing is I get excited that some has answered. Hmmm.....


that's only 2 of 5 waiting to see if you find my other posts
Mon September 08 2003, 05:25 PM
Manowar
just trying to keep it refreshed.

Beer
Tue September 09 2003, 12:35 AM
Mr_Fister
I also looked for an answer to this question a few moons back.... no luck.
Only response I got (and didn't follow through on) was to look at the windmill in the dwarf area of the single player. it rotates nicely, but I never looked at it to see how.?.
Please post yer findings if ya figure it out 'cause I would love to know.
Razz
Tue September 09 2003, 01:11 AM
Faison
yea a rotating mover is pretty easy once it's explained.

Rotating movers
You don't need any special mover class to make a mover that keeps rotating around its own axis forever. Any object, decoration, weapon, mover, etc... can be made to rotate, they all use the same propertie for it.

Make a mover. You don't have to give it any keys. Open its properties and expand "Movement". In there, expand "RotationRate". You now see three values: Pitch, Roll and Yaw. As long as you leave them 0, the mover will not rotate. Small values, like 1, 10 or 100 make it rotate very slowly, so you can hardly see the rotation. A value of 1000 makes it rotate quite slowly, and values of around 2000 - 10000 make it rotate faster. You can also make it rotate as fast as you want, for example if you give it a value of 100000, but at this high speed you might see strange effects when stepping on the mover.


The RotationRate of a mover

Use Pitch to make the mover rotate around its X-axis, Roll to make it rotate around its Y-axis and Yaw to make it rotate around its Z-axis. This means, if you want to make a rotating platform, you need to use Yaw, and for things like the wheels of a car, use Roll or Pitch.

The mover will rotate around its own axis. The location of this axis is determinated by that red vertex that every brush has. For example, the cylinder on the two pictures below will rotate around the red vertex, so the first one will rotate around its center, while the second one will rotate around one of its sides.



To place the red vertex, click on any purple vertex of the brush and the red one will go to that location, or right click on any place and select Pivot --> Place Pivot (Snapped) Here.

Important is to set the mover's InitialState to None, otherwise the movement of it will be disturbed when players touch it. Expand "Object" in the Mover Properties, and there set InitialState to None.

try this link fister it'll explain everything if not let me know.
rotating movers and other's