Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Addition of Obi Collider
#7
(29-03-2019, 10:07 AM)Evgenius Wrote: And what about code?

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Obi;

public class ManSetting : MonoBehaviour
{
    public GameObject man;
    
    void Start()
    {
        man.AddComponent<MeshCollider>();
        man.AddComponent<ObiCollider>();
    }

    // Update is called once per frame
    void Update()
    {
        Transform myTransform = this.transform;
        
        Vector3 localScale = myTransform.localScale;

    }
}
Reply


Messages In This Thread
Addition of Obi Collider - by Richard - 29-03-2019, 09:12 AM
RE: Addition of Obi Collider - by Evgenius - 29-03-2019, 09:18 AM
RE: Addition of Obi Collider - by Richard - 29-03-2019, 09:50 AM
RE: Addition of Obi Collider - by Evgenius - 29-03-2019, 09:53 AM
RE: Addition of Obi Collider - by Richard - 29-03-2019, 10:03 AM
RE: Addition of Obi Collider - by Evgenius - 29-03-2019, 10:07 AM
RE: Addition of Obi Collider - by Richard - 29-03-2019, 10:14 AM
RE: Addition of Obi Collider - by Evgenius - 29-03-2019, 10:22 AM