- Home /
Does unity treat colliders differently if outside of camera frustrum
I have a problem in my sidescroller 3d game im working on where my character will act differently when it is not visible by either the main camera, or both the scene camera and main camera when working in the editor.
It doesnt always happen. Does unity treat colliders or gameobjects differently when there are outside of the camera frustrum?
Cheers
Act differently ? That's vague ... Please explain the issue and how you are relating it to colliders.
If the object has a rigidbody attached. And it doesnt move. The collision detection will go off, peformance reasons. So my guess is that the object that "acts diffrently" is not moving at all when outside the camera.
See http://docs.unity3d.com/ScriptReference/Rigidbody-collisionDetection$$anonymous$$ode.html
Your answer
![](https://koobas.hobune.stream/wayback/20220613170314im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Modifying plane to fit view frustrum issue 0 Answers
How to check if an object is partially outside of the camera view? 0 Answers
Very complicated collider problems 0 Answers
How do I zoom the camera when it is in danger of colliding or being obstructed 1 Answer
Oblique Frustrum Camera (horizontal X, vertical Z) 0 Answers