Jump to content

How to change camera/aim in vector X


OrionTH1

Recommended Posts

I'm trying change the player camera/aim in vector X to do a effect similar with a recoil, i was trying use:

setCameraTarget(x, y, z)

i guess it's the better way to change the player camera, but how can i get where the player is looking, like:

setCameraTarget(actualX+10, actualY, actualZ)

 

Edited by OrionTH1
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...