TheRock254 Posted January 13, 2015 Share Posted January 13, 2015 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) Link to comment
Blaawee Posted January 13, 2015 Share Posted January 13, 2015 radius = 10 addEventHandler( "onClientRender", root, function( ) radius = math.rad( 90 - radius ) setCameraMatrix( math.cos( radius ), math.sin( radius ), 50, 0, 0, 0 ) end ) Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now