Forum rules - please read before posting.

Look in a direction/object, 1st person view

Hello,

I'm wondering how i coul achieve this idea : after a cutscene and a fade out/in, i would like that player is looking in direction or at a specific object. I tried the turn head, face.. in the Actions List but it s not working ( i guess it s not designed for 1st person view). This feature would really help  the player to know where to go next, for example. 

Comments

  • edited January 2018
    You could face the players transform into another transform (the target object) by calculating the direction between those two transform positions:

    Vector3 direction = (target.transform.position - camera.transform.position).normalized

    This could be made into a custom action that runs after a cutscene.
  • Thanks @julen !
    In fact, it's working with the action list  'face object'/fae with body. I forgot to check " fps head tilt"...
    My mistke, sorry
  • Nice then :)
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.