Chasecam does not care about maximumRotation (8 posts)

  • Profile picture of Addez Addez63p said 3 months, 2 weeks ago:

    I do this to my chasecam:

    CamManager.chaseCam.setMaxVerticalRotation(7);
    		CamManager.chaseCam.setMaxVerticalRotation(7);

    7 is above pi*2 thus it should allow me to rotate how much I ever want.
    But I can’t.
    The chasecam wont allow me to rotate beyond 0 degrees. And being that this is a space game whereas you can’t navigate unless you can look around, the thing remains useless.

    Is this a bug or am I suppose to solve this another way?

  • Profile picture of dixel dixel9p said 2 weeks, 6 days ago:

    its not a bug, chasecam has it’s restrictions and it was not though out as a space sim camera…. if you change your distance by using “setdefaultdistance”, the camara actually rotates infinite times either way, but the camera gets inverted at some point…. quite the odd behavior, also, some functions dont work properly….. like “setUpVector”, it will just mess up the rotation….
    im trying to fix all this, i believe madJack solved some of this a month ago….

    cheers….

  • Profile picture of madjack madjack495p said 2 weeks, 6 days ago:

    @Addez
    The Chase Cam is locked at -90 and 90 degrees looking up/down respectively.

  • Profile picture of shirkit shirkit20p said 2 weeks, 6 days ago:

    My guess is that you’ll have to code a Chase Camera for yourself.

  • Profile picture of Addez Addez63p said 2 weeks, 6 days ago:

    Appriciate the help guys, but this was posted 3 month ago..
    I used chasecam in one of my programs today and it works great and smooth, have no problem with it :P

    Thanks for trying to help tho ;)

  • Profile picture of madjack madjack495p said 2 weeks, 6 days ago:

    Oh crap. I usually always check the dates but not that time it seems. Sorry @Addez :/

  • Profile picture of Addez Addez63p said 2 weeks, 5 days ago:

    No problem madjack! I appriciate the effort :)

  • Profile picture of dixel dixel9p said 2 weeks, 5 days ago:

    it was actually my fault :P sorry… i was looking for stuff relating to chasecam and since this post wasnt that old, and didnt have any replies, i though about answering it ;) thats why it looked “new”