Debug draws of boxes are twice as big
tsornin opened this issue · comments
This size needs to be halved because box size is a half-extent in Bullet:
UnityEngine.Vector3 size = (bbMax - bbMin).ToUnity() / 2;
Thanks, I will fix.
A fork of the BulletSharp project to make the Bullet Physics Engine usable from C# code in Unity3d
tsornin opened this issue · comments
This size needs to be halved because box size is a half-extent in Bullet:
UnityEngine.Vector3 size = (bbMax - bbMin).ToUnity() / 2;
Thanks, I will fix.