1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Solved How to remove entity shadow?

Discussion in 'Development' started by alexwolf_dev, Oct 18, 2017.

  1. alexwolf_dev

    alexwolf_dev Spider Jockey

    Messages:
    43
    GitHub:
    Frago9876543210
    Hello. How to remove this shadows or this is client-side?
    upload_2017-10-18_10-26-48.png
     
  2. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
    As far as I can deduce from the information you provided, the only possible solution I can provide is to "delete your plugin", because you did not explain what you are doing at all.
    Please provide more details.
     
    Last edited: Oct 18, 2017
    trophonix and jasonwynn10 like this.
  3. alexwolf_dev

    alexwolf_dev Spider Jockey

    Messages:
    43
    GitHub:
    Frago9876543210
    I create a fake player via AddPlayerPacket and want to remove the shadow. upload_2017-10-18_15-52-52.png
     
    jasonwynn10 likes this.
  4. dktapps

    dktapps Administrator Staff Member PMMP Team

    Messages:
    774
    GitHub:
    dktapps
    try setting the height and width metadata to 0, or close to 0:

    PHP:
    $pk->metadata = [
       
    Entity::DATA_BOUNDING_BOX_WIDTH => [Entity::DATA_TYPE_FLOAT0],
       
    Entity::DATA_BOUNDING_BOX_HEIGHT => [Entity::DATA_TYPE_FLOAT0]
    ];
     
  5. alexwolf_dev

    alexwolf_dev Spider Jockey

    Messages:
    43
    GitHub:
    Frago9876543210
    Thank you!
    upload_2017-10-18_21-33-6.png
     
    jasonwynn10 and dktapps like this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.