Author Topic: LookAt with local "keep vertical"  (Read 2235 times)


  • Administrator
  • Hero Member
  • *****
  • Posts: 14703
  • Official Playmaker Support
    • View Profile
LookAt with local "keep vertical"
« on: September 09, 2013, 03:57:33 AM »

 This action is pending since a long time, and I got around to finally do a version of it.

 Basically, some time you want to look at a target, but keep the object rotation axis locked, regardless of it's orientation ( a turret on its tank).

There is an additional check box called "Constraint Locally" which in effect makes the "Keep Vertical" option local to the gameobject, as opposed to taking the world vertical axis instead.

You can find a fully working example here: