- Home /
Physics not working.
I'm following a tutorial and the physics arn't working, Rigid Bodies and Character Controller. Anyone know why?
Your problem is probably that you're not following the tutorial in detail. What's happening with your objects? Nothing? Fall through ground?
The Physics where working before and now i opened the project a few days later and the physics dont work.
Answer by Caiuse · Apr 24, 2011 at 05:26 PM
Character Controllers work differently from Rigidbody's http://unity3d.com/support/documentation/Components/class-CharacterController.html
Pay attention to two of the rigidbody settings in particular, the 'Is Kinematic' and 'Use Gravity'.
Is Kinematic - If enabled, the object will not be driven by the physics engine, and can only be manipulated by its Transform. This is useful for moving platforms or if you want to animate a Rigidbody that has a HingeJoint attached.
Use Gravity - If enabled, the object is affected by gravity.
Gravity is on and $$anonymous$$inematic is off.
Sounds like a problem with your install of Unity, my suggestion would be to either save elsewhere or export all your projects as UnityBundles and reinstall Unity from fresh.
Answer by oliver-jones · Apr 24, 2011 at 06:20 PM
Okay, try this:
Create a new scene, name it what ever you wish.
Create a cube, and stretch it out so its a floor.
Next, create another cube, place it high above the floor and add a rigidbody (Physics).
Hit play, and tell me if the second cube hits the floor.
Your answer
Follow this Question
Related Questions
2D 360 degress platformer example needed 0 Answers
Add force problem 1 Answer
Raycasting to the bottom side of a plane? 2 Answers
More Realistic Physics 1 Answer
Breaking joints 1 Answer