Adding Collision to Terrain (loaded j30)

Ugh… I feel so dumb when I can’t figure the simplest things. HAHA! Anyway…

I have a terrain that I’m loading in with:

[java]
Spatial level1 = assetManager.loadModel(“Scenes/Level1.j3o”);
[/java]

Now, I’ve tried looking through the jme3 examples and I have not seen this yet… I’ve also tried adding geometry and other things and can’t figure it out…

How do add a terrain spatial to my physicsSpace?

Thank you very much!
Peace!

Nvm, I finally found it in the jme example files. Thx!

1 Like