Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- event PlayerInput(float DeltaTime)
- {
- // Add the aMouseX & aMouseY to the mouse position and clamp it within the viewport width/height
- MousePosition.X = Clamp(MousePosition.X + aMouseX, 0, myHUD.SizeX);
- MousePosition.Y = Clamp(MousePosition.Y - aMouseY, 0, myHUD.SizeY);
- CamScroll();
- Super.PlayerInput(DeltaTime);
- }
- function CamScroll()
- {
- //code
- }
Add Comment
Please, Sign In to add comment