Author Topic: Question for multi purpose game kit?  (Read 3122 times)

Galvatron

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 3
    • View Profile
Question for multi purpose game kit?
« on: July 04, 2013, 12:59:16 AM »
How would I change the camera not to follow from behind. I would want it to keep the same angle but when the tank turns right or left it would still point north. If I turned the tank south the camera would still point north.

Also is there a way to make it so when I'm traveling the camera zooms out further but when attacking it zooms in a little?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Question for multi purpose game kit?
« Reply #1 on: July 04, 2013, 07:36:04 AM »
That logic is inside the FollowCameraTarget script. Comment out line 40 and the rotation won't change. For zooming in, you'd also do it in this script.