Change skin / material of Ferrari Car while playing

I am testing the application in jme3-test-data called TestFancyCar.java
Everything works fine,

However now I want to change the skin/material of the car while playing the application,
How would I proceed to do that?

1 Like

Why not start by… reading the documentation?

3 Likes

To change which material is applied to a geometry, invoke the com.jme3.scene.Geometry#setMaterial() method.

1 Like