Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pickable InstancedMeshes #70

Open
mightymarcus opened this issue Nov 8, 2015 · 4 comments
Open

Pickable InstancedMeshes #70

mightymarcus opened this issue Nov 8, 2015 · 4 comments

Comments

@mightymarcus
Copy link

It's not possible (at least for me) to pick instanced meshes with Bhx. I tried a demo in the babylonjs playground, and there it works, but the same doesn't work with Bhx.

@vujadin
Copy link
Owner

vujadin commented Nov 8, 2015

I've set isPickable property to false by default (in BJs its true), can't remember why though (probably for performance reason ?!). Could you try setting isPickable = true for your root mesh before creating instances and check if it makes a difference ?

@mightymarcus
Copy link
Author

Of course I tried that. ;)

@vujadin
Copy link
Owner

vujadin commented Nov 17, 2015

Picking works with SPS so that might be temporary workaround for you

@mightymarcus
Copy link
Author

I had a workaround using invisible clones "behind" the instances, which gave good performance too. But anyway I was just trying something and don't need it currently. Thanks.

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

No branches or pull requests

2 participants