- Home /
Problem is not reproducible or outdated
Rigidbody Bug Fall Down
Hi everyone... Well, i'm doing my first game in Unity and now i'm having some troubles with the RigidBody Component.
The model of my level i have made in Cinema4D, and exported to Unity as FBX. everything is working.
But i have applied a rigidbody component to a barrel model, and now the barrel just fall down through my map.
I really don't know why this is happening. Btw, i recorded a video, so u can see better what is my problem.
Thanks for the help
Link to video: http://www.youtube.com/watch?v=zQ-3j9DA9JA&hd=1
Answer by ScroodgeM · Jul 17, 2012 at 07:19 AM
just create a collider for your map and barrel. it can be primitive or mesh. mesh turning on in asset import settings.
Answer by evzcd · Jul 18, 2012 at 07:39 AM
i have created all the colliders and the object keep falling through my map =/
if you want mesh colliders interact with other mesh colliders, it must be marked as 'convex'
I tried all your tips and still did not work. really appreciate your help. I noticed one thing, when I put the barrel outside of the map, everything works correctly. But when i put it inside the map, the barrel is thrown to the side before falling.
i have recorded another video, take a look if u can. http://www.youtube.com/watch?v=TGgErllRqak&feature=youtu.be
thanks for ur help and patience
I think you should also look to $$anonymous$$imum distance for rigid body activation.. I also noticed that you have convex mesh colider but actual mesh to use as collider is empty. Try to assign it.
Ok, maybe i have fixed... in project settings > physics i changed my $$anonymous$$ penetration for pen to 0 in the rigid body component i changed the mass to 1000 drag to 0 and angular drag to 0 in mesh colliders the convex is checked and the barrel has a little distance from wall
Thanks everyone for the help (= and i really dont know why this mass, i put a random value and it's worked lol
Answer by Riebulka · May 19, 2013 at 06:43 PM
MESH COLLIDER CANNOT COLIDe to OTHER MESH COLIDERS OR TERRAIN COLIDERS UNLESS CHECKED CONVEX