Page 1 of 1
.
Posted: Mon Jul 22, 2013 11:32 pm
by atari314
.
Re: Camera Rotation.
Posted: Tue Jul 23, 2013 12:07 am
by mongoose7
You may need to look at the definition of bindTargetAndRotation.
Re: Camera Rotation.
Posted: Tue Jul 23, 2013 12:13 am
by SpyM
When binding is enabled, setRotation triggers setTarget, which uses the current absolute position of the node.
You changed the position before rotating, so try calling updateAbsolutePosition before setRotation