F Key bindings

For topics that don't fit under the other topics or forums.

F Key bindings

Postby arinlares » Wed Sep 02, 2009 7:42 pm

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:

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

Postby Conundrumer » Wed Sep 02, 2009 7:54 pm

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
User avatar
Conundrumer
 
Posts: 344
Joined: Mon Aug 31, 2009 5:55 pm
Location: NYC


Return to Algodoo in general

Who is online

Users browsing this forum: No registered users and 4 guests