Posted by BrianL on December 07, 1998 at 16:47:54:
In Reply to: Simple COG question posted by Ken_Shiro on December 07, 1998 at 16:27:56:
It's all a matter of how its set up. Each cog has values in it. Like a door cog for example. A simple door cog will move a door from frame0 (a position in 3d space) to frame1 (another position) when it's activated. The space key (activate) or whatever you have yours set to, sends a message (or the cog looks for one, don't know how it works EXACTLY, but doesn't matter) to the cog, letting it know the door was activated. Once the door is activated, the cog sends the door to frame1 (remember, it starts at zero) and waits there for a specified amount of time (also set in the cog). After waiting that amount of time, it moves back to frame1.
Does this make sense? Every door (not absolute, but generally speaking) has a cog attached to it. When you fill out the cog stuff (check the doors tutorial) you fill in the thing number (identifies what "thing" or door it's attached to), the frame0 and frame1 positions (where it moves to and from), and the wait time (how long it stays up).
Hope this helps, check out the doors, elev, force field, and breaking glass tutorials (those are all that I can think of off the top of my head).
Brian