Advanced C2 map/car tricks galore (physics, modeling, misc)
Posted: Wed Mar 04, 2009 9:55 am
Hey all,
Not sure if this thread will come very popular, but we'll see. So if you've come up with some kind of clever trick relating map making (useful or not), feel free to share it here. It can be about physics, graphics, modeling, or something else. I'll post one to start with, and will be adding some more over time as I find my old notes.
=====================================================================================
"Perpetual motion machine" / engine
I'll give credit from this one to Toshiba, as it's pretty similar to the crushers in his arena map. It's not completely the same thing though, this generates its own movement, and could be used to power up something else.
So here's how this works. The red part rotates around, it's using a ball joint. It's also set to not collide with world walls. The green part is limiting the movement to a single axis, because otherwise, a ball joint would swing into every possible direction. The black marbles are contained between the blue tubes, inside of a circular volume. The red part moves the marbles as it hits them, but inside the yellow zones things are a bit different. The yellow zone has heavily increased gravity, which causes the small marbles inside it to increase the rotation speed of the red part. The red part gains more speed, moves the next marbles into the yellow zone, and the same goes on and on. All friction forces are nullified, to minimize any loss of speed. It should be possible to have two separate BBoxes for the red part, far away from each other. This way you can locate this machine far away for something that needs to be powered up. (but it requires that this engine is located directly to either side, I think)
Next I'll try to post something more useful.
Not sure if this thread will come very popular, but we'll see. So if you've come up with some kind of clever trick relating map making (useful or not), feel free to share it here. It can be about physics, graphics, modeling, or something else. I'll post one to start with, and will be adding some more over time as I find my old notes.
=====================================================================================
"Perpetual motion machine" / engine
I'll give credit from this one to Toshiba, as it's pretty similar to the crushers in his arena map. It's not completely the same thing though, this generates its own movement, and could be used to power up something else.
So here's how this works. The red part rotates around, it's using a ball joint. It's also set to not collide with world walls. The green part is limiting the movement to a single axis, because otherwise, a ball joint would swing into every possible direction. The black marbles are contained between the blue tubes, inside of a circular volume. The red part moves the marbles as it hits them, but inside the yellow zones things are a bit different. The yellow zone has heavily increased gravity, which causes the small marbles inside it to increase the rotation speed of the red part. The red part gains more speed, moves the next marbles into the yellow zone, and the same goes on and on. All friction forces are nullified, to minimize any loss of speed. It should be possible to have two separate BBoxes for the red part, far away from each other. This way you can locate this machine far away for something that needs to be powered up. (but it requires that this engine is located directly to either side, I think)
Next I'll try to post something more useful.