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

Views: 164

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: New onHitByLaser argument
Rating: 5
Filesize: 6.66 kB
Downloads: 695
Comments: 5
Ratings: 1
Date added: 2024/11/21 18:25:32
Made with: Algodoo v2.2.1
Rating: rated 5
download
Title: Ravenplucker's Laser
Rating: 5
Filesize: 44.97 kB
Downloads: 268
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: 260
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: 480
Comments: 0
Ratings: 1
Date added: 2011/04/05 18:04:56
Made with: Algodoo before v1.8.5
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.