All,
I create a sprite and set it pickable with EntityPickMode sprite, 3 (with sprites you can only use mode 1 or 3).
Then I use CameraPick to pick that sprite, and everything works just fine.
A problem occurs when I scale the sprite using ScaleSprite command.
If I do so, the area where the sprite can be pickable, is bigger than the scaled sprite itself; in other terms, the pickable area seems to refer always to the original non-scaled sprite.
Is there any way to make the pickable area scaled as the sprite ? I've tryed with EntityBox, didn't help.
This behaviour does not happens to meshes though.
Sergio.
I create a sprite and set it pickable with EntityPickMode sprite, 3 (with sprites you can only use mode 1 or 3).
Then I use CameraPick to pick that sprite, and everything works just fine.
A problem occurs when I scale the sprite using ScaleSprite command.
If I do so, the area where the sprite can be pickable, is bigger than the scaled sprite itself; in other terms, the pickable area seems to refer always to the original non-scaled sprite.
Is there any way to make the pickable area scaled as the sprite ? I've tryed with EntityBox, didn't help.
This behaviour does not happens to meshes though.
Sergio.