Avançar para o conteúdo principal

Pesquisa

How do I get the direction the camera is facing.

  • Gastor35

    Press L1+X (if I'm not mistaken) and it will allow you to move the camera and see what it's facing.

  • Aecert

    Dude I mean in code so I can shoot a laser (raycast) in that direction

  • StankyDino

    Try adding a Look At Rotator, then under its outputs tab, it has a Scene Space Direction. Alternately, you can add a RayCast Sensor to the microchip and position the origin at the head of the puppet, and guide lock the ray to cast in a forward vector.

iniciar sessão para comentar.