UserData Vector3f in scene editor

hi all,
i have some trouble with storing vector3f as userdata in sdk’s scene editor (its scene composer i think), im not able to set coordinates, but only parameterless constructor, which is 0,0,0 :frowning:

As workaround for this i have comma separated string and with java’s Scanner class i extracting floats from this string, but it is so bad im crying :slight_smile:

how can i create nonscalar userdata with values? i tried to type class as “com.jme.math.Vector3f(1,1,1)”, but it fails. I can only give class name to the editor like “com.jme.math.Vector3f”, after that, i see in userdata (0, 0, 0) and cannot change it.

my goal is to set spaceship-dependent chase camera offset into the ship node in scene editor (one scene is one spaceship with all required settings, like userdata for ship’s mass, or node for turret position and rotation)

bump any ideas? :slight_smile:

That’s a bug in the editor.
You can’t edit user data for an unknown reason.
It’s already in my todo.