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
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
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)