Jump to content

Custom camera.


Kenix

Recommended Posts

Before that I used function setCameraTarget but camera always lagged.

http://bugs.mtasa.com/view.php?id=6666

So i create camera with setCameraMatrix and update in onClientPreRender and camera works perfect not lagged , but i have question .How to make the camera does not pass through the building or something.

I know , need check between camera and target element with function processLineOfSight.

If can lay out an example.

I'm not good in the matrix.

Thanks in advance.

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