.

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
atari314
Posts: 3
Joined: Sat Apr 20, 2013 3:49 am

.

Post by atari314 »

.
Last edited by atari314 on Thu Oct 27, 2016 5:59 am, edited 2 times in total.
mongoose7
Posts: 1227
Joined: Wed Apr 06, 2011 12:13 pm

Re: Camera Rotation.

Post by mongoose7 »

You may need to look at the definition of bindTargetAndRotation.
SpyM
Posts: 9
Joined: Tue Jul 09, 2013 3:29 pm

Re: Camera Rotation.

Post 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 :)
Post Reply