mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 04:03:35 +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,
|
y: 0,
|
||||||
z: 0
|
z: 0
|
||||||
};
|
};
|
||||||
|
var userData = JSON.parse(_this.currentProperties.userData);
|
||||||
var bounds = Entities.getEntityProperties(_this.entityID, "boundingBox").boundingBox;
|
var innerContainer = userData['hifi-home-fishtank']['innerContainer'];
|
||||||
|
var bounds = Entities.getEntityProperties(innerContainer, "boundingBox").boundingBox;
|
||||||
lowerCorner = bounds.brn;
|
lowerCorner = bounds.brn;
|
||||||
upperCorner = bounds.tfl;
|
upperCorner = bounds.tfl;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue