Lemons Posted January 28, 2017 Share Posted January 28, 2017 (edited) Converted this recently for someone who was interested in using it. Provides a smooth and fast mouse based Camera using Mouse.move and a lil math to compute where we should be looking. Gist: https://gist.github.com/Lem0ns/a485f7906db0c08d5458583401a81047 Usage is nearly identical to that standard Camera (will update soon, new ipb throwing me off lol) Camera lemonCamera = new Camera(script); lemonCamera.moveNorth(); // Directions lemonCamera.moveCamera(0, 33); // Moves yaw to 0, pitch to 33 lemonCamera.moveYaw(180); // Moves yaw to 180 lemonCamera.toEntity(npc); // Move camera to entity lemonCamera.toPosition(position); lemonCamera.toEntity(futureDest, entity); // Set camera angle before getting to our destination lemonCamera.toEntity(futureDest, position); Finally, thanks to @Ethan07 for the inspiration to make this class. His Camera can be seen here. Edited January 28, 2017 by Lemons 11 Quote Link to comment Share on other sites More sharing options...
Ayylmao420 Posted January 28, 2017 Share Posted January 28, 2017 Thanks, i'll try it out and if it works the way i want it to i'll sure use it. Quote Link to comment Share on other sites More sharing options...
Xylate Posted January 28, 2017 Share Posted January 28, 2017 Nice release:) Quote Link to comment Share on other sites More sharing options...
Juggles Posted January 28, 2017 Share Posted January 28, 2017 Cool stuff, will look into this Quote Link to comment Share on other sites More sharing options...