Browse Search Popular Register Upload Rules User list Login:
Search:
Mouse Controlled Car for tutorial

Image:
screenshot of the scene

Author: Niffirg1

Group: Default

Filesize: 59.25 kB

Date added: 2009-09-26

Rating: 6.1

Downloads: 1478

Views: 2042

Comments: 3

Ratings: 3

Times favored: 0

Made with: Algodoo before v1.8.5

Tags:

Scene tag

A guy asked me about mouse control on one of my tutorials so i created this to help clear somethings up.
Here it isthe tutorial- Custom Variables, Key binds,If Statements, and Mouse Control
Last edited at 2009/09/26 04:25:38 by Niffirg1
Please log in to rate this scene
edit
Similar scenes
Title: Mouse Controlled Arm Example
Rating: 5
Filesize: 39.4 kB
Downloads: 794
Comments: 2
Ratings: 1
Date added: 2012/08/30 01:44:26
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Mouse controlled crane V2
Rating: 6
Filesize: 32.85 kB
Downloads: 1331
Comments: 3
Ratings: 3
Date added: 2011/01/30 18:04:37
Made with: Algodoo before v1.8.5
Rating: rated 6
download
Title: Mouse Controlled Drawing Board
Rating: 4.8125
Filesize: 87.95 kB
Downloads: 1282
Comments: 3
Ratings: 10
Date added: 2009/12/23 17:38:34
Made with: Algodoo before v1.8.5
Rating: rated 4.8
download
Title: Stick balancing with the mouse
Rating: 7.2308
Filesize: 5.94 kB
Downloads: 1986
Comments: 13
Ratings: 7
Date added: 2009/03/23 20:58:31
Made with: Phun
Rating: rated 7.2
download
Title: TURBO TANK mouse controlled
Rating: 5
Filesize: 0.86 MB
Downloads: 662
Comments: 0
Ratings: 1
Date added: 2010/06/16 18:35:49
Made with: Algodoo before v1.8.5
Rating: rated 5
download
Title: Apache with Mouse Controlled Canon
Rating: 6.3636
Filesize: 282.61 kB
Downloads: 2180
Comments: 9
Ratings: 5
Date added: 2010/12/22 10:23:30
Made with: Phun
Rating: rated 6.4
download
Why not store all of the info in the oncollide, not in the hinge speed? Also, lasers make much better refreshers, but if you cannot, thats ok:).
This is the one i used, i put the code below into the oncollide, and scene.my.XXXX into the hinger of a car:) Then just added *X to suit how big the wheels were

(e)=>{scene.my.XXXX = (app.mousepos(0) - e.pos(0))} and then for the hinges, just put scene.my.XXXX:)
Well i wanted to make i t Phun safe just in case anyone that is reasing the tutorial doesnt have Algodoo
how do you make it so it follows when you move your mouse up and down?:s