-
-
Notifications
You must be signed in to change notification settings - Fork 437
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Player vehicle camera ignores collisions of placed objects when moving above certain speed #1921
Comments
This comment has been minimized.
This comment has been minimized.
https://community.multitheftauto.com/?p=resources&s=details&id=18365 |
Fixing this by default for all objects would break race DM maps as they rely on this behaviour so some switch needs to be provided. Either global or per object element. |
Perhaps setGlitchEnabled |
Most likely fixed by #3274. Feedback appreciated. |
I tested with this code and by driving (as you can see in the video below) that #3274 resolved this. Issue can be closed. setElementPosition(getPedOccupiedVehicle(localPlayer) or localPlayer, 0, 0, 11)
createBuilding(8357, 0, 0, 10, 0, 0, 0, 0)
createObject(8357, 40.5, 0, 8, 0, 0, 0) |
This remains true for Objects (we can say this is an intended behavior of dynamic objects) but not for Buildings, which don't allow your camera to clip inside/past the model like that (normal behavior of world objects indeed). |
Fixed in #3274. |
Describe the bug
Camera ignores any placed object collisions when player in vehicle reaches certain speed.
To reproduce
Expected behaviour
Camera wont ignore objects collisions and will close up to player/move in front of the object, as it would when player moving in vehicle nearby any base game world objects.
Screenshots
Version
1.5.7-9.20358.0, 1.5.8
Windows 7
Additional context
https://www.youtube.com/watch?v=GsedO_5iSBY
This issue only occurs when player in vehicle, and total sum of velocity values in both
x
, andy
is above ~0.4.While on foot this doesnt seem to happen, despite player moving with same or higher velocity.
Any
setCameraClip
values dont affect issue in any way.Seems like same effect, but affecting only player vehicle, can be spotted in base game when moving above 40km/h, which will make camera ignore player vehicle collision and clip through. Other than that one instance i was unable to find same effect affecting anything else in base game.
The text was updated successfully, but these errors were encountered: