View Issue Details

IDProjectCategoryView StatusLast Update
0009502New Feature Requests[All Projects] Generalpublic2017-06-18 20:54
Reporterrbxf234Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status newResolutionopen 
Summary0009502: [Request] setCameraMovementEnabled
Description

This function would provide us ability which could enable/disable player's camera movement. What this means is that if you would disable camera movement, a player wouldn't be able to rotate his camera.

I've seen that samp servers can do this already, so I suppose that it's possible to do.
This would also enable us to create a custom camera system with custom movements much more easily.

TagsNo tags attached.

Activities

Necktrox

2016-12-21 23:14

developer   ~~0025529

And what prevents you from using setCameraMatrix(getCameraMatrix()) to introduce this function in Lua? You can use setCameraTarget to undo this effect (read more the wiki page of setCameraMatrix)

einheit-101

2016-12-22 00:33

reporter   ~~0025530

Then i would rather use attachElements(getCamera(), localPlayer, offX, offY, offZ, offrx, offry, offrz) along with this:

https://wiki.multitheftauto.com/wiki/GetOffsetFromXYZ
and this:
https://wiki.multitheftauto.com/wiki/GetCameraRotation

Issue History

Date Modified Username Field Change