Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Confusing terms

Discussion in 'Documentation' started by Tortuap, Nov 8, 2016.

  1. Tortuap

    Tortuap

    Joined:
    Dec 4, 2013
    Posts:
    126
    Hi

    I'm confused by the definition of Bounds.extents and Physics.BoxCast parameter named halfExtents.

    Bounds.extents : The extents of the box. This is always half of the size.
    Physics.BoxCast, param halfExtents : Half the size of the box in each dimension.

    What I've usually seen is that extents is half a size.
    But in case of Physics.BoxCast, the name halfExtents is confusing me. Shouldn't it be named halfSize ? or just extents, like Bounds is doing to express half size ?

    Thanks for your consideration.
    Regards.
     
    JvanE likes this.
  2. Graham-Dunnett

    Graham-Dunnett

    Unity Technologies

    Joined:
    Jun 2, 2009
    Posts:
    4,287
    I'll let the documentation team know about this post. Hard for me to work out if this is a docs team of R&D team problem.