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: 385

Views: 155

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: Ravenplucker's Laser
Rating: 5
Filesize: 44.97 kB
Downloads: 257
Comments: 1
Ratings: 1
Date added: 2016/07/30 04:03:00
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Crazy Gun
Rating: 5
Filesize: 7.17 kB
Downloads: 255
Comments: 0
Ratings: 1
Date added: 2010/10/26 19:56:41
Made with: Algodoo before v1.8.5
Rating: rated 5
download
Title: Measuring Laser
Rating: 5
Filesize: 4.31 kB
Downloads: 464
Comments: 0
Ratings: 1
Date added: 2011/04/05 18:04:56
Made with: Algodoo before v1.8.5
Rating: rated 5
download
Title: Laser Hits Counter
Rating: 5
Filesize: 23.16 kB
Downloads: 396
Comments: 2
Ratings: 1
Date added: 2025/01/04 18:01:50
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Laser Reflection Tracker
Rating: 5
Filesize: 56.79 kB
Downloads: 982
Comments: 0
Ratings: 1
Date added: 2013/03/25 12:05:55
Made with: Algodoo v2.0.2
Rating: rated 5
download
Title: onLaserStop event
Rating: 5
Filesize: 31.7 kB
Downloads: 569
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.