First Question.
Use case I want to add a path on a terrain using the SDK Paint Texture:
Painting Terrain in the SDK does not seem to work
I created a new Basic Project
I added the jme3-test-data lib
I created a new scene
I added a terrain : flat
I edit the terrain
I can edit the height of the terrain : works
I add a new texture (Pond.jpg and Pond_normal.jpg)
I select the new texture so that it has focus
I click on the spray can (Text says “Erase Texture”…Is that correct?)
I am not able to paint the texture. I tried with button , button + shift, button+ctrl nothing seems to work.
How do I paint the path?
Second Question: How do I get access to the AnimControl in code?
If I open up a Bender File in the SDK and convert it to a j3o file. In the SceneExplorer Window it has a hierarchy of
Models/dilo_animated.blend
+Scene
++Armature
+++Cube
++++Cube1
++++AnimControl
…
if spatial is the dilo_animated.j3o loaded
This code returns null
AnimControl control = spatial.getControl(AnimControl.class);
How do get access to the AnimControl in the hierachy above? Do i need to loop through all the children until I find one?