- Home /
2D Physics, cannot pass -10 (y-axis)
Is there some reason 2D Physics are limited to y>=-10?
Answer by diegzumillo · Nov 22, 2013 at 09:21 PM
I just made a quick test here and didn't find anything wrong with physics2d for objects below y=-10. They hit some obstacles and continued falling for thousands of distance units. Take a look at your scene, deactivate every object except for a rigidbody2d, like a ball or something and see how far it goes. If it keeps falling then we know you have some object in the way, try turning them back on one by one until you figure which one it is. If that doesn't work, maybe it's something in your code.
I disabled everything and still no go, when I tried to manually change the y coordinate, my object was once again moved to exactly -10 again, might it be a setting problem?
ok, create a new scene exactly like this: a camera and a sphere. On the sphere you add the components rigidbody2d and circle collider 2d. You 'll have to remove the sphere collider that comes by defailt with the sphere. Does it still stop at y=-10?
Yeah it worked. I found the issue, it was a script I had attached to the player object, that prevented it from going less that -10 because the player object used to be on a sudo 2D scene along the x and z planes. Sorry about that!
Your answer

Follow this Question
Related Questions
I need to know how to switch to another scene while playing the game. Please Help i'm stuck. 1 Answer
How to load next scene on collision ? 3 Answers
GetPersistentManager problem? Can't save a scene anymore 1 Answer
Callback for when an object is deleted from the scene by the user in EditorMode. 3 Answers
Unity takes forever to load scene 1 Answer