Gears (kinda)

By manenfu – Custom level – uploaded 11 Feb 2023 from Linux
Revision #4, updated 11 Feb 2023
PlayEdit 1 player liked this.
Issues trying to play levels? Troubleshoot issues playing levels

A very crude implementation to simulate the behavior of gears using cylinders.
This gear system ensures that two contacting cylinders won't slip against each other.

Quirks:

  • A little bit too springy with no way to directly set object's angular velocity from Lua script.
  • Motors seem to override torques applied by the script.
  • They don't take getting locked up very well.

Views: 80 - Downloads: 80 - Level ID: 679 - Play in browser (BETA)

Comments

2 years ago ROllerozxa: This is really cool o.o
2 years ago voxel: woah
2 years ago manenfu: They should work fine touching each other, and you can edit some parameter in the code.
2 years ago MARRA92-AGAIN: the cylinders should be touching eachother tho
2 years ago MARRA92-AGAIN: I'm gonna test this a bit, but seems pretty promising. I'm sure many people would benefit from this! well done! was any of my sufggested maths/criterias good for it?
2 years ago manenfu: @MARRA92_AGAIN: I guess this is what you're looking for?