Setting Maya camera position

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
warui
Posts: 232
Joined: Wed Apr 14, 2004 12:06 pm
Location: Lodz, Poland
Contact:

Setting Maya camera position

Post by warui »

Maya camera uses it's own members to describe it's position. So every time i try to change it's position with setPosition() my settings are overwriten by camera ones. Also setRotation() doesn't seem to have any effect.

I tried to experiment with CCameraMayaSceneNode::animate(). I changed it to take currentZoom from getPosition(), but i get bizzare effects while rotating.
Tomasz Nowakowski
Openoko - www.openoko.pl
Post Reply