From dcaad8044384bce4f4358522108bf9a2481ee4e0 Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 14 Oct 2020 12:44:29 +0800 Subject: *physics --- Assets/Scripts/Physics/PhysicsBall.cs | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Assets/Scripts/Physics/PhysicsBall.cs (limited to 'Assets/Scripts/Physics/PhysicsBall.cs') diff --git a/Assets/Scripts/Physics/PhysicsBall.cs b/Assets/Scripts/Physics/PhysicsBall.cs new file mode 100644 index 00000000..2a076718 --- /dev/null +++ b/Assets/Scripts/Physics/PhysicsBall.cs @@ -0,0 +1,20 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class PhysicsBall : PhysicsPrimitive +{ + public Vector3 m_Center; + public float m_Radius; + + public void OnDrawGizmos() + { + Gizmos.DrawSphere(m_Center, m_Radius); + } + + void Start() + { + base.OnInit(); + } + +} -- cgit v1.1-26-g67d0