I would like for my camera to just hit the object and stop moving but I can't seem to figure out how to do this. Any help would be much appreciated
My Camera keeps clipping into objects
- Edited
Attach physical collisions to the camera and the object and process the hit.
There's a near setting on the camera if it's just a little bit.
i elaborate on fire7side's comment:
Camera3D node has the variable near — the minimum distance that gets rendered by the camera.
lowering it means that the object can be rendered closer to the camera without looking cut off,
but lowering it too much can cause rendering artifacts from the depth buffer becoming less precise.
to counteract these artifacts (and to improve performance), you could also lower the render distance with far.
- Best Answerset by SlavicPolygon
You would need physics. So you could make the hammer a static body (so it won't move) and also the floor. Then you add a collision shape to your character controller.
Tomcat How do I do that?
- Edited
SlavicPolygon How do I do that?
This is what cybereality said. He gave a more detailed answer.
cybereality Thank you