simon_bg Posted November 30, 2017 Share Posted November 30, 2017 Hey guys, is it possible to select a sprite (via actionManager or scene.pickSprite, whatever) so the sprite transparency is taken into account? For example, in this playground the sprite is a circle:https://www.babylonjs-playground.com/#PVYYAQ , but it is clickable on the invisible corners of the square image. Is there any way to avoid that? Thanks, Quote Link to comment Share on other sites More sharing options...
aWeirdo Posted November 30, 2017 Share Posted November 30, 2017 search the forum and you shall find http://www.html5gamedevs.com/topic/32514-new-idea/?page=2&tab=comments#comment-188166 Quote Link to comment Share on other sites More sharing options...
simon_bg Posted November 30, 2017 Author Share Posted November 30, 2017 Oh wow, my bad. I've made a search earlier but couldn't find anything, tried it now and it's literally the first result. Murphy's law, as always Thank you, aWeirdo! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.