How to get the spatial name in a collision?

Hi everyone!



Lately i have some problems trying to get the name of a spatial in a collision detection, all i can get is the name of the geometry, but i don’t need this, unless change the name of the geometry of a spatial, but i don’t know how :frowning:



I hope can help me, thanks!.

http://hub.jmonkeyengine.org/javadoc/com/jme3/scene/Spatial.html#getParent()

Thanks a lot!!! i need more practice with jme