Camera / Meshes Not colliding when moving Using position.AddInPlace

Movement Code: Lines 124-137

Hi everyone! When using Keyboard movement on the camera, collision with corridor walls works properly. but using the on Screen Buttons, AddInPlace movement On Before Render seems to skip any kind of collisions, I tried a couple of another observers functions but still cant figure it out. I tried doing the same with a cube instead of a camera but it was still skipping the collisions.


The PG works for me correctly.

Thanks for testing, I edited a little bit the first message, I mean It doesn’t collide when using the UI Based Movement. It also ignores the gravity.

Do not change the position of the camera but the cameraDirection:



Thank you ! Exactly the desired behavior.