F Key bindings
2 posts • Page 1 of 1
F Key bindings
I figured it would be a good thing to have useful featrues bound to keys, such as the vertex, center of mass, and force display defaults in some of the Phun early betas, moved to the Algodoo forum. I looked up my old thread, and found these, from tatt61880:
First one draws center of mass, second one draws all of the vertices, and the third one draws collisions, the red lines showing the direction the force is applied, going white as force is more intense, and points toward the source of the force. Does anybody else have any useful key bindings?
- Code: Select all
Keys.bind("f6", {App.drawBodyCenters = ! App.drawBodyCenters});
Keys.bind("f7", {App.drawVertices = ! App.drawVertices});
Keys.bind("f8", {App.drawCollisions = ! App.drawCollisions});
First one draws center of mass, second one draws all of the vertices, and the third one draws collisions, the red lines showing the direction the force is applied, going white as force is more intense, and points toward the source of the force. Does anybody else have any useful key bindings?
- arinlares
- Posts: 16
- Joined: Tue Sep 01, 2009 8:00 am
Re: F Key bindings
- Code: Select all
Keys.bind("f5", {App.drawCables = ! App.drawCables});
Keys.bind("f9", {App.grid.grid = ! App.grid.grid});
For cables (connection of a series of hinges) and grid
-
Conundrumer - Posts: 344
- Joined: Mon Aug 31, 2009 5:55 pm
- Location: NYC
2 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 4 guests