お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Close元の位置からの相対的な今の角度 (Read Only)
身体の角度はシミュレーション開始時に常に0になります。
print(hingeJoint.angle);
using UnityEngine; using System.Collections; public class ExampleClass : MonoBehaviour { void Example() { print(hingeJoint.angle); } }
import UnityEngine import System.Collections public class ExampleClass(MonoBehaviour): def Example() as void: print(hingeJoint.angle)