Wanting to try to get the basics of a maplestory-type game.
How would I make it so you can only play with your camera a certain angle?
Wanting to try to get the basics of a maplestory-type game.
How would I make it so you can only play with your camera a certain angle?
This is not a request site, please study the following sites: Study This one first, http://wiki.roblox.com/index.php?title=Camera, http://wiki.roblox.com/index.php?title=API:Class/Camera/CoordinateFrame, http://wiki.roblox.com/index.php?title=API:Class/Camera/Interpolate, http://wiki.roblox.com/index.php?title=API:Class/Camera/CameraType. There are also some 2D game free models.
We do not make scripts for you.
Hope it helps!
Check out this function for cameras. The functions you could use are called :
WorldToScreenPoint() : Which takes a 3D world point and returns information regarding its 2D screen location, its depth, and whether it is visible on the screen or not.
And then ScreenPointToRay(): This casts a Ray from a defined 2D point on the screen through the camera.
This discussion is preserved as it was. New answers, comments, and votes are closed.