How to have a margin around node allowing to pick them before entering inside

Hello i’m a french developper in java.

I am using jmonkey in a project where i need to have an interaction with a node before entering Inside.

How can i specify a shape for the ray casting. Until now i must add a node in the scene which is larger than the node, but it term off efficiency it’s not a good thing.

Thank you for your answer.