The title pretty much sums it up. setPosition() works as one would expect, but setRotation appears to do… nothing?
Here’s the relevant code snippet in question:
var a = app.root.findByName("User Camera"),
b = app.root.findByName("Camera Preset 1");
a.setPosition(b.getPosition());
a.setRotation(b.getRotation());
setPosition, again, works - but setRotation does not; Further, the value is set, but the camera doesn’t update after it’s set (unlike setPosition, which updates immediately).
Does anybody know what would cause getRotation to fail silently?
The values for those keys updates, but the camera in question doesn’t get updated
Will: The scene I’m working in is kind of “top secret”, but you’ve been in there before - I could PM you a link to the scene, if you’d like? Easier than setting up a new scene and such