When detect = TRUE
, this makes the entire link set
the script is attached to phantom
. But, if another object interpenetrates
it, it will get a collision_start event
. When an object stops interpenetrating, a collision_end
event is generated. While the other is interpenetrating, collision
events are NOT generated. The script must be applied to the root
object of the link set to get the collision
events. Collision filters work normally (see llCollisionFilter
The object can NOT be set to phantom by any other means, or else llVolumeDetect
will not work. llVolumeDetect
will set phantom automatically.
A script that uses llVolumeDetect
will say "Attachments cannot use llVolumeDetect.
" if the object containing the script is attached
at the time llVolumeDetect
. If llVolumeDetect
is used in an attachment, the collision
events will still be triggered.
When enabled llVolumeDetect
will remain in effect as long as there is a script on the object. It will be automatically removed when the last script is deleted, however the phantom
state will persist.
- As of SL 1.6.7, llVolumeDetect should not be used on physical objects! Doing so will cause the object to fall through the ground and go off-world. Presumably, this is because llVolumeDetect does not use the same mechanism as a regular phantom object and that the Lindens goofed up. The Lindens have been notified of this issue, but it has not yet been fixed. If you need the object to be physical, you can use llSetBuoyancy(1.0) to fix the falling problem.
- "llVolumeDetect does not appear to trigger collision_start events on passive objects, only physical objects, this could be a bug in the new SL version, but I could be mistaken." -Kyle Hayashi
Note on the 'collision' event not being triggered for llVolumeDetect, you can easily work around this limitation by calling:
- As of SL 1.6.7, llDetectedLinkNumber will only ever return 0 when used with llVolumeDetect, even when used in a multi-prim object. This may be caused by the fact that llVolumeDetect was added some time after the original detected functions. There is not yet any word on when this might be fixed.
at the end of the 'collision_start' event. This will retrigger 'collision_start' as long as the object is penetrated!
This no longer seems to be the case. At least as of 4/12/2010 only one 'collision_start' event is triggered per penetration whether or not llVolumeDetect is toggled in the 'collision_start' event or elsewhere in the script.
This article wasn't helpful for you? Maybe the related article at the LSL Portal
is able to bring enlightenment.
| Phantom Jasa SEO Jasa SEO Murah Sepatu Online Toko Sepatu Online Sepatu Sepatu Murah Sepatu Safety Sepatu Futsal Cheapes Hostgator Coupon Link Booking Televisori offerte Notebook Offerte Berita Terkini Internet Marketer Muda Internet Marketer Indonesia Portatile Apple RDAnet Lorks Karikatur Bisnis Modal Kecil Bisnis UKM Berita Terbaru Iklan Baris Jasa SEO Jasa SEO Murah SEO Indonesia Konsultan SEO SEO Belajar SEO Kursus SEO Kursus SEO Murah Jam Tangan Casio Jam Tangan Casio Jam Tangan Murah Jam Tangan Grosir Baju Terbaru Grosir Baju Baju Terbaru Grosir Baju Murah Bisnis Online Belajar SEO Kerupuk Kerupuk kulit Social Bookmark Dofollow Social Bookmark Kumpulan Puisi Kirim Puisi bola hantu Penumbuh Rambut Penumbuh Rambut timbangan WBC Wonogiri Jasa SEO Murah Jasa SEO Jam Tangan Murah