meetric1 / gmod-infinite-map

GNU General Public License v3.0
179 stars 30 forks source link

Incorrect movement of objects (cameras) #26

Open Idol11112222 opened 1 year ago

Idol11112222 commented 1 year ago

When you switch to the view from the created camera (stool camera), while moving it to another chunk, the camera remains in the first chunk and goes to the opposite end (assuming you stay in the first chunk). Example: hot air balloon camera. If you do not fly after it, the camera will move to the other end of the chunk. As I understand it, this is due to the fact that each chunk is a duplicated chunk at the beginning, in which the necessary objects are removed. (Ground, etc.)

Video: https://www.youtube.com/watch?v=dnADKjcuuvo

meetric1 commented 1 year ago

Modifying clientside code is an extremely difficult paradox due to how cameras work in the source engine, this will not be fixed, sorry

Cameras that are created will always be local to the client chunk, so as long as you exist in the same chunk as the camera entity it should work as intended