Skip to content

Conversation

@draibolit
Copy link
Contributor

Related issue: #22844

Description

to expose raycaster in drag control to change it its layer when objects are not in the default layer ( layer 0 ).

@mrdoob mrdoob added this to the r135 milestone Nov 16, 2021
@mrdoob mrdoob merged commit 0043446 into mrdoob:dev Nov 16, 2021
@mrdoob
Copy link
Owner

mrdoob commented Nov 16, 2021

Thanks!

@mrdoob
Copy link
Owner

mrdoob commented Nov 16, 2021

Wait, how does this work? Isn't that method private?

@Mugen87
Copy link
Collaborator

Mugen87 commented Nov 17, 2021

It seems the OP missed to add the following line at the end of the file:

this.getRaycaster = getRaycaster;

@Mugen87
Copy link
Collaborator

Mugen87 commented Nov 17, 2021

c547a74

@Mugen87 Mugen87 changed the title expose raycaster in drag control DragControls: Added .getRaycaster(). Nov 17, 2021
@joshuaellis joshuaellis mentioned this pull request Nov 21, 2021
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants