Announcement

Collapse
No announcement yet.

InterpActor aim at a player, but constrained to only one axis?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    InterpActor aim at a player, but constrained to only one axis?

    Hi all,
    I have an InterpActor that I want to aim at the player, kind of like a turret (it is AntiAircraft gun exactly) but I can't figure out how to constrain it to only on axis.

    I've created a looping matinee with two groups. The first group is empty group named Player with a Player variable attached to it.

    The other group has a Movement track set to use the LookAtGroup rotation mode with its LookAtGroup set to Player. I have keys placed at the beginning and end of the Movement track. An InterpActor is attached to this second group.

    It works, InterpActor aims at a player, but I want it constrained to only one axis. In other words, I want my AntiAircraft gun only rotate towards the player around Z - axis

    How can I do this?
Working...
X