Jump to content

setCameraMatrix


TheRock254

Recommended Posts

Posted

I want to turn around the 0,0,0 point. Im make this but it's not work. Please help :(

radius = 10 
addEventHandler("onClientRender", root, function() 
setCameraMatrix(math.cos(math.rad(radius)), math.sin(math.rad(radius)), 50, 0, 0, 0) 
end) 

Posted
radius = 10 
addEventHandler( "onClientRender", root, 
    function( ) 
        radius = math.rad( 90 - radius ) 
        setCameraMatrix( math.cos( radius ), math.sin( radius ), 50, 0, 0, 0 ) 
    end 
) 

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