Thanks for the monkeyZone code, it helped me lot to understand the concept behind jMonkeyEngine game development. But I have small issue. I added new building object to monkeyZone scene and test the game. The new building correctly rendered in the game but it is not a solid object. I means walls are not tough, player can move across the wall also. I want to make them solid and player should only be entered through the doors. Please help me to find out the issue, since I tried several things but failed.
You need to add a RigidBody, right-click the new house or w/e node and select “Add static RigidBody”