mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 01:24:03 +02:00
user inner tank for bounds
This commit is contained in:
parent
cd233165e7
commit
3f146a734b
1 changed files with 3 additions and 2 deletions
|
@ -426,8 +426,9 @@
|
|||
y: 0,
|
||||
z: 0
|
||||
};
|
||||
|
||||
var bounds = Entities.getEntityProperties(_this.entityID, "boundingBox").boundingBox;
|
||||
var userData = JSON.parse(_this.currentProperties.userData);
|
||||
var innerContainer = userData['hifi-home-fishtank']['innerContainer'];
|
||||
var bounds = Entities.getEntityProperties(innerContainer, "boundingBox").boundingBox;
|
||||
lowerCorner = bounds.brn;
|
||||
upperCorner = bounds.tfl;
|
||||
|
||||
|
|
Loading…
Reference in a new issue