![]() You must have an up-to-date copy of the PlayerScripts for full gesture support. We’ll attempt to turn this feature on next Wednesday (). ![]() ![]() Due to technical limitations, Roblox Studio does not support trackpad gestures.We are actively working on support for Windows machines, as well as a fallback control scheme for systems lacking supported hardware.You can inspect the source of the Roblox CameraScript to find a usage example. Zooming in 3D space is calculated as wheel + pinch, and 2D vertical scrolling is calculated as wheel + pan.Y. bool gameProcessedEvent: Determines if the engine has processed the input (ie has a gui with Active=true swallowed the event).īriefly, arguments from PointerAction are combined additively into user actions.float pinch: Pinch gesture on a trackpad.Vector2 pan: Horizontal and vertical two-finger pan on a trackpad.float wheel: Discrete wheel input from a physical mouse.UserInputService.PointerAction(float wheel, Vector2 pan, float pinch, bool gameProcessedEvent). Gestures are exposed by a new event, PointerAction. This enables the user to fully control the camera without having to hold down the right mouse button:
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |