参考URL:http://p-chin.tumblr.com/post/24936530711/script-rigidbody-freezeposition
え?↓の書き方はあるが、
target.rigidbody.freezeRotation = true;
FreezePositionがないのか
target.rigidbody.FreezePosition = true; // これはない!
http://docs.unity3d.com/Documentation/ScriptReference/RigidbodyConstraints.html
複数指定は+じゃなくて|で繋ぐっぽい
http://docs.unity3d.com/Documentation/ScriptReference/Rigidbody-constraints.html?from=RigidbodyConstraints
target.rigidbody.constraints = RigidbodyConstraints.FreezeRotationX | RigidbodyConstraints.FreezeRotationY;