Method b3MakeScaledBoxHull
- Namespace
- Box3D.Native
- Assembly
- Box3D.NET.Native.dll
b3MakeScaledBoxHull(Vector3, b3Transform, Vector3)
This makes a transformed box hull with post scaling. This is useful for boxes that are scaled in a level editor. Such scaling can have reflection and shear. In the case of shear the result may be approximate. If you need to support shear consider using b3CreateHull. Do not call b3DestroyHull on this.
public static extern b3BoxHull b3MakeScaledBoxHull(Vector3 halfWidths, b3Transform transform, Vector3 postScale)Parameters
halfWidthsVector3-
positive half widths
transformb3Transform-
local transform of box
postScaleVector3-
scale applied after the transform, may be negative
Returns
- b3BoxHull
-
See the Box3D documentation.