create BoundingBox for selected Object

My beginner problems & solutions

Moderator: Falk

Antworten
Simon
Site Admin
Beiträge: 1678
Registriert: 10.10.2006, 16:41

create BoundingBox for selected Object

Beitrag von Simon »

create BoundingBox for selected Object

Code: Alles auswählen

--get length
bBoxLength = $.max.y - $.min.y;
--get width
bBoxWidth = $.max.x - $.min.x;
--get height
bBoxHeight = $.max.z - $.min.z;
--create Bounding Box
Box length:bBoxLength width:bBoxWidth height:bBoxHeight
{o,o}
|)__)
-"-"-
O RLY?
Antworten