Browse Search Popular Register Upload Rules User list Login:
Search:
Camera (improved version 2)

Image:
screenshot of the scene

Author: UnityDogGaming04

Group: Default

Filesize: 35.27 kB

Date added: 2019-09-14

Rating: 5.6

Downloads: 565

Views: 208

Comments: 2

Ratings: 2

Times favored: 0

Made with: Algodoo v2.1.0

Tags:

Scene tag

This camera has a sort of fade out, a trail, if you will, on moving objects.
If anyone knows how to measure the distance between a laser and the colliding surface with code lemmino
Please log in to rate this scene
edit
Similar scenes
Title: Sanic's Epic Quest! *EDITED*
Rating: 5
Filesize: 1.41 MB
Downloads: 4271
Comments: 6
Ratings: 1
Date added: 2013/08/10 02:00:17
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: crashable aiplane (CRJ 900) improved version with wheels
Rating: 5.2222
Filesize: 1.05 MB
Downloads: 1679
Comments: 2
Ratings: 3
Date added: 2010/04/19 16:41:24
Made with: Phun
Rating: rated 5.2
download
Title: Micro car v4
Rating: 5.4444
Filesize: 81.61 kB
Downloads: 1351
Comments: 0
Ratings: 3
Date added: 2011/10/26 10:33:18
Made with: Algodoo v2.0.0 Edu
Rating: rated 5.4
download
Title: LUNA RIDE IV (Improved Version)
Rating: 5
Filesize: 318.4 kB
Downloads: 448
Comments: 0
Ratings: 1
Date added: 2016/11/25 19:38:22
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: improved version
Rating: 4.5
Filesize: 52.4 kB
Downloads: 526
Comments: 0
Ratings: 2
Date added: 2008/05/26 02:13:34
Made with: Phun
Rating: rated 4.5
download
Title: Race to the shiny green bowl (Improved again omg)
Rating: 5
Filesize: 27.52 kB
Downloads: 607
Comments: 1
Ratings: 1
Date added: 2018/09/15 15:30:27
Made with: Algodoo v2.1.0
Rating: rated 5
download
Quote: "lemmino" --- LOL! Funny! :lol:

You can find the distance between two geometries like this:
math.vec.dist(geom1.POS,geom2.POS)

When using a laser, in the onLaserHit event, you can do something like this:

onLaserHit (e)=> {_dist = math.vec.dist(pos, e.geom.pos)}

The local variable _dist will have the actual distance value between the laser and the geometry that the laser beam hits. You can also use a global variable such as scene.my.distance.

Hope this helps!
Last edited at 2019/09/14 21:35:52 by Xray
Nice! :tup: