You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to pick the position of a translucent primitive as outlined in #4511, which was closed with #4979.
What I expected: setting the scene.pickTranslucentDepth to true will allow me to not pick through translucent primitives, but this is not the case. Am I missunderstanding the docs?
Set Scene#pickTranslucentDepth to true to include the depth of translucent primitives
Clicking on the translucent wall Primitive or one of the rectangles in the Atlantic when facing the horizon will not pick the position of the Primitive but log undefined.
The text was updated successfully, but these errors were encountered:
ggetz
changed the title
Picking translucent positions not working as expected
Clarify the need to call scene.render in between picks with pickTranslucentDepth in docs
Jan 25, 2018
I'm trying to pick the position of a translucent primitive as outlined in #4511, which was closed with #4979.
What I expected: setting the
scene.pickTranslucentDepth
totrue
will allow me to not pick through translucent primitives, but this is not the case. Am I missunderstanding the docs?To recreate use this sandcastle and add this at line 5:
Clicking on the translucent wall Primitive or one of the rectangles in the Atlantic when facing the horizon will not pick the position of the Primitive but log
undefined
.The text was updated successfully, but these errors were encountered: