The Daily Click ::. Forums ::. Klik Coding Help ::. Jamagic Camera Bug
 

Post Reply  Post Oekaki 
 

Posted By Message

Kramy



Registered
  08/06/2002
Points
  1888
8th February, 2004 at 16:59:05 -

Hey, I just stumbled upon an odd camera bug. I've checked again and again to make sure the code is correct(according to examples) I can't figure out why when I move object "mycar" the camera moves instead.

Example:
myCar.SetAngle(myCar.GetXAngle(),myCar.GetYAngle()+rotateangle,myCar.GetZAngle());
myCar.Move(speed);

Result:
Camera turns angle
Camera moves forward

I'm able to lock the camera in place by setting it's position to the car's, which neglects to move nomatter what I try.

Any ideas why this is happening?

Image Edited by the Author.

 
Kramy
   

Post Reply



 



Advertisement

Worth A Click