Pocketmine-mp: Entity->setScale() doesn't set entity boundingbox..?

Created on 29 Mar 2017  路  4Comments  路  Source: pmmp/PocketMine-MP

Issue description



Players/entities with a smaller scale that walk under blocks that are smaller than their actual bounding box will take damage.

Steps to reproduce the issue

  1. Set a player's scale to 0.5
  2. Walk in between a one block area

OS and versions

  • PocketMine-MP: 868602a559cf697f9318d9f266f4d9a74339fe9a
  • PHP: 7.0. something idk irrelevent
  • Server OS: Ubuntu
  • Game version: doesnt matter

Crashdump, backtrace or other files

  • ...
API Gameplay Fixed

Most helpful comment

Thank you!

All 4 comments

Blame me, I haven't implemented that along with the functions. Not sure if I will, as dktapps is planning to rewrite it.

Ah.. Alright

As you can see here, it doesn't change AABB, only sets data property.

Thank you!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zKoz210 picture zKoz210  路  27Comments

MisteFr picture MisteFr  路  29Comments

markkrueg picture markkrueg  路  18Comments

admsteck picture admsteck  路  22Comments

matcracker picture matcracker  路  17Comments