Problem setting CollisionShape scale doesn’t change

When getting CollisionShape from and Spatial and changing the scale value to something else the scale value stays the same and doesn’t update.





[java]CollisionShape shape = object.getControl(RigidBodyControl.class).getCollisionShape();

System.out.println("Old: "+shape.getScale());

shape.setScale(new Vector3f(5,5,5));

System.out.println("New: "+shape.getScale());[/java]



output:

Old: (1.0,1.0,1.0)

New: (1.0,1.0,1.0)