mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 19:36:07 +08:00
Implement llCastRay fully, simplified.
This commit is contained in:
@@ -1477,6 +1477,44 @@
|
||||
; Avatar bounding box, upper Z value, coefficient to multiply with avatar height, when sitting
|
||||
UpperAvatarBoundingBoxSittingZcoeff = 0.25
|
||||
|
||||
; Safety coefficient for max bounding box from prim size box X coordinate
|
||||
; Worst case is twisted and sheared box, 1+sqrt(2)
|
||||
PrimBoundingBoxSafetyCoefficientX = 2.414214
|
||||
|
||||
; Safety coefficient for max bounding box from prim size box Y coordinate
|
||||
; Worst case is twisted and sheared box, 1+sqrt(2)
|
||||
PrimBoundingBoxSafetyCoefficientY = 2.414214
|
||||
|
||||
; Safety coefficient for max bounding box from prim size box Z coordinate
|
||||
; Worst case is twisted tube, 0.5+sqrt(1.25)
|
||||
PrimBoundingBoxSafetyCoefficientZ = 1.618034
|
||||
|
||||
; Accepted calculation precision error in calculations in llCastRay
|
||||
FloatToleranceInLlCastRay = 0.000001
|
||||
|
||||
; Accepted distance difference between duplicate hits in llCastRay
|
||||
FloatTolerance2InLlCastRay = 0.0001
|
||||
|
||||
; Maximum number of returned hits from llCastRay
|
||||
MaxHitsInLlCastRay = 16
|
||||
|
||||
; Maximum number of returned hits per prim from llCastRay
|
||||
MaxHitsPerPrimInLlCastRay = 16
|
||||
|
||||
; Maximum number of returned hits per object from llCastRay
|
||||
MaxHitsPerObjectInLlCastRay = 16
|
||||
|
||||
; Report ray intersections with surfaces on exits from a prim as hits in llCastRay if true
|
||||
DetectExitHitsInLlCastRay = false
|
||||
|
||||
; Filter on parts instead of groups in llCastRay if true
|
||||
FilterPartsInLlCastRay = false
|
||||
|
||||
; Detect attachments in llCastRay if true
|
||||
DoAttachmentsInLlCastRay = false
|
||||
|
||||
; Use legacy version 1 of llCastRay if true
|
||||
UseLlCastRayV1 = true
|
||||
|
||||
[DataSnapshot]
|
||||
; The following set of configs pertains to search.
|
||||
|
||||
Reference in New Issue
Block a user