Browse Search Popular Register Upload Rules User list Login:
Search:
How do I get the position for where the laser hits the geometry?

Image:
screenshot of the scene

Author: The_Beast_lol

Group: Default

Filesize: 4.2 kB

Date added: 2024-09-25

Rating: 5

Downloads: 399

Views: 165

Comments: 3

Ratings: 1

Times favored: 0

Made with: Algodoo v2.2.0b

Tags:

Scene tag

I need this for my realistic laser so it won't pull objects.
Please log in to rate this scene
edit
Similar scenes
Title: Laser Attack (2.0.2b15)
Rating: 5
Filesize: 11.57 kB
Downloads: 379
Comments: 2
Ratings: 1
Date added: 2012/07/19 01:39:20
Made with: Algodoo v2.0.2 Edu
Rating: rated 5
download
Title: Laser Gravity Experiment
Rating: 5
Filesize: 22.43 kB
Downloads: 266
Comments: 0
Ratings: 1
Date added: 2025/08/15 01:19:46
Made with: Algodoo v2.2.4
Rating: rated 5
download
Title: New onHitByLaser argument
Rating: 5
Filesize: 6.66 kB
Downloads: 703
Comments: 5
Ratings: 1
Date added: 2024/11/21 18:25:32
Made with: Algodoo v2.2.1
Rating: rated 5
download
Title: Logic gates using laser
Rating: 6.25
Filesize: 51.73 kB
Downloads: 793
Comments: 5
Ratings: 2
Date added: 2010/04/09 03:10:49
Made with: Algodoo before v1.8.5
Rating: rated 6.3
download
Title: Laser Hits Counter
Rating: 5
Filesize: 23.16 kB
Downloads: 415
Comments: 2
Ratings: 1
Date added: 2025/01/04 18:01:50
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: onLaserStop event
Rating: 5
Filesize: 31.7 kB
Downloads: 579
Comments: 6
Ratings: 1
Date added: 2014/12/03 23:44:49
Made with: Algodoo v2.1.0
Rating: rated 5
download
In onLaserHit, you can see where the laser hits the object with e.pos.

Hope this helps! :lol:
The position where the laser hits the object is e.pos. So, for example, in "onLaserHit" you can save that position like this: _objectPos = e.pos (or whatever you need to do with it).


OOPS! Little and I were responding but she beat me to it! :lol:
Last edited at 2024/09/25 03:25:00 by Xray
Thank you.