[SOLVED] Move objects location by one vector instead of all three

Is there a way to move an objects location by one vector like X? something maybe like this? [java]cam.setLocation.x(1.5f)[/java]

[java]

cam.setLocation(cam.getLocation().clone().setY(1.5f));

[/java]

That should do it :slight_smile:

3 Likes

Thanks so much! :smiley:

No problem!