Skip to content

Instantly share code, notes, and snippets.

@baobao
Created August 21, 2014 23:39
Show Gist options
  • Select an option

  • Save baobao/ec39626ed6ed351dd2b5 to your computer and use it in GitHub Desktop.

Select an option

Save baobao/ec39626ed6ed351dd2b5 to your computer and use it in GitHub Desktop.
動的にRigidbodyのアクティブを制御するだけ? だったら、enabledのtrue/falseでも良い気がするが。 他に意味があるのかもしれない。 https://bitbucket.org/hoge_foo_bar_piyo/basic-unity/commits/70110ffbe1e9b817ec4dbd088f59fac7b400b108?at=master
//参考
//http://docs.unity3d.com/ScriptReference/Rigidbody-detectCollisions.html
transform.rigidbody.detectCollisions = false;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment