Sprite pick area doesn't reflect sprite angle

https://playground.babylonjs.com/#YCY2IL#382

After rotation, the sprite can be picked out of bounds on two sides (top right and bottom left). It cannot be picked in any of the corners.

@Evgeni_Popov would you mind having a look into it ? or I ll do ASAP

It seems the sprite angle is not taken into account when computing the ray / sprite intersection:

Yup thanks a ton, @Deltakosh might have a crazy idea to do it as usual :slight_smile:

ok it will be fixed by next nightly :wink:

2 Likes

I love when the daddy himself is fixing it !!!

LOL!

1 Like