Jump to content

Mathing rotation


Rat32

Recommended Posts

I using getCamera() to get player camera.

 

I can't use setCameraMatrix, becouse I need atach cam to vehicle.

 

How to math camera rotation to set him rotation to xyz to looking a specifed point?. I will make this camera "looking for".

Edited by Tasumi
Link to comment

I attached getted camera using getCamera() function to vehicle.

 

I must create mouse camera moving using mouse and i have no idea for rotate this camera to looking this to xyz point. I can't use setCameraTarget, because this detaching camera from vehicle.

 

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...