Skip to content
Discussion options

You must be logged in to vote

I test this method, and it worked! Thanks.

maxX = game.entities.getBoundingBox(entity_id).maxX;
maxY = game.entities.getBoundingBox(entity_id).maxY;
maxZ = game.entities.getBoundingBox(entity_id).maxZ;

minX = game.entities.getBoundingBox(entity_id).minX;
minY = game.entities.getBoundingBox(entity_id).minY;
minZ = game.entities.getBoundingBox(entity_id).minZ;

sizeX = game.entities.getBoundingBox(entity_id).sizeX;
sizeY = game.entities.getBoundingBox(entity_id).sizeY;
sizeZ = game.entities.getBoundingBox(entity_id).sizeZ;

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@Andy718811
Comment options

@Zergatul
Comment options

@Andy718811
Comment options

@Andy718811
Comment options

Answer selected by Andy718811
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants