言語: 日本語
  • C#
  • JS
  • Boo

スクリプト言語

お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。

SphereCollider.center

Switch to Manual
public var center: Vector3;

Description

ローカル座標でのコライダーの中心座標

	// Reset the center to the transform's position
	collider.center = Vector3.zero;