Example #1
0
    public CapsuleTransform CreateCopy()
    {
        CapsuleTransform copy = new CapsuleTransform();

        copy.OverrideValues(this);
        copy.m_IsCopy = true;
        return(copy);
    }
Example #2
0
    //Apply a capsule transform to the actual collider object. Update contextual information
    public void ApplyCapsuleTransform(CapsuleTransform a_CapsuleTransform)
    {
        m_CapsuleTransform.OverrideValues(a_CapsuleTransform);

        UpdateContextInfo();
    }