Recently, i've started using unity as part of my university degree. On the university computer, adding a 'rigidbody' physics component to a game object allowed it to hit other objects such as a floor made from a standard cube. however, now i have installed unity at home, this the rigidbody object just falls through. is there a setting that i've missed?
thanks in advance for any answers!
Im having exactly the same problem on my MacBook Pro with unity 3.3
Answer by Jeston 1
Oct 14, 2010 at 08:33 PM
Sounds like you need to add colliders : Component -> Physics -> XXXX Collider
Hi, the boxes already have box colliders on them. but this seems to make no difference. is it a bug do you think?
Happen to have IsTrigger checked on the collider ? If so this will be used to fire an event instead of using physics simulations. Are you sure its not your physics ? You can test this by moving the camera, and doing a line cast between two known points and seeing if the collider info returns...
Answer by Puch
Oct 14, 2010 at 08:39 PM
the boxes already have the basic box collider. is there a bug do you think?
Make sure your colliders are big (bigger than zero size which probably can become default if you add the collider late). Make sure the ground has a collider.
Answer by YetAnotherUnityQuack
Oct 14, 2010 at 09:09 PM
See so that you are not using incredibly large or unbelievably small colliders, Even though the physics does not have any promise to behave the same on different computers, this is a common reason for problems. I believe you should keep under 100 units and above 0.01. you can also experiment with different amount of physics iterations.(Project Settings -> Physics)
Answer by Puch
Oct 14, 2010 at 09:25 PM
sizes are simply on 1 at the moment. completely baffled by it at the moment.. tried playing with the physics settings and got nothing... it's very odd as the unity of the uni computer were brand new installs too, there is no visible reason for anything working differently..
Answer by Vince 1
Oct 25, 2010 at 01:00 AM
I'm having the exact same problem... it's weird...
If this might help, I'm using an Intel Mac running 10.4 (Leopard).
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
1 Person is following this question.
Rolling Road with Physics
Implement 2D movement in a 3D environment while retaining physics
C# always move an object forward and still use physics
How can I make a rigidbody box slide instead of roll when I push it?
How to maintain magnitude of velocity (otherwise known as speed) after collision