Xeno Posted February 3, 2012 Posted February 3, 2012 I STILL can't seem to rotate the camera? I'm trying to move it so it faces the base, but whatever Arguement I change, it does not seem to rotate! Help me please: setCameraMatrix (source, 73.6,1763,48, 1468.388671875, -918.42474365234,0,0,0, 25000,25000) PS What i'm trying to do is rotate the camera.
DiSaMe Posted February 3, 2012 Posted February 3, 2012 Could that be related to the fact that setCameraMatrix only has 9 parameters, but you're using 11?
Klesh Posted February 3, 2012 Posted February 3, 2012 There must to be something like this setCameraMatrix(floatX, floatY, floatZ, lookAtX, lookAtY, lookAtZ)--With those elements the camera works
Xeno Posted February 3, 2012 Author Posted February 3, 2012 There must to be something like this setCameraMatrix(floatX, floatY, floatZ, lookAtX, lookAtY, lookAtZ)--With those elements the camera works I know that, but which lookAtX do I change to rotate the camera? None seem to work.
Scooby Posted February 4, 2012 Posted February 4, 2012 not counting the source, the first 3 are ur camera coords (if ur using a player then u can use getElementPosition to get these), the next 3 are the coords u want it to look at. so try: setCameraMatrix (source, 73.6, 1763, 4, 1468.3, -918.4, 0) if this isnt right, check the coords of the place u want ur camera to look at and replace the last 3 numbers.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now