From b3e71353511635b920ce8ea0ac0a5ef2b16fc396 Mon Sep 17 00:00:00 2001 From: jonwd7 <jon.wd7@gmail.com> Date: Thu, 1 Jun 2017 17:40:13 -0400 Subject: [PATCH] bhkBoxShape fixes --- nif.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nif.xml b/nif.xml index f906070..03e177f 100644 --- a/nif.xml +++ b/nif.xml @@ -2300,8 +2300,8 @@ <niobject name="bhkBoxShape" abstract="0" inherit="bhkConvexShape"> A box. <add name="Unused" type="byte" arr1="8">Not used. The following wants to be aligned at 16 bytes.</add> - <add name="Dimensions" type="Vector3">Looks like this could be the box size.</add> - <add name="Radius" type="float">The smallest of the three sizes. Might be used for optimization.</add> + <add name="Dimensions" type="Vector3">A cube stored in Half Extents. A unit cube (1.0, 1.0, 1.0) would be stored as 0.5, 0.5, 0.5.</add> + <add name="Unused Float" type="float">Unused as Havok stores the Half Extents as hkVector4 with the W component unused.</add> </niobject> <niobject name="bhkConvexVerticesShape" abstract="0" inherit="bhkConvexShape"> -- GitLab