Overview

Creating and fitting physics proxies is usually a cumbersome and time-consuming process. To speed up the process, we created a maxscript tool that will autonomously create a box-proxy and attempt to fit it to the render-geometry as tightly as possible.

First Steps

  1. Launch the CryMaxTools, open the Model tab and navigate to the Phys Proxy Tool rollout:
  2. Set the "Material ID" spinner to the number of the sub material that you want the proxy to use:
  3. Select the Objects or SubObjects that you want to create a Phys Proxy for.
  4. Hit one of the buttons in the row of the "Box" button, to create proxies.

Parameters and Characteristics

Parameters

Description

Name

Base name for the proxies to be created. "$physics_proxy" is the current engine-default.

UDPs

Additional user string for the Proxy's User Defined Properties. Separate by spaces.

Material ID

Sets the Material ID that will be applied to the Box Proxy.

Proxy per Element

When enabled, the tool will create a separate Proxy for each Element of the Editable Poly.

Size Bias

Enlarge created proxy by so many centimeters on each axis. Use to compensate for imprecision, to ensure that the render mesh is fully encapsulated.

Error Threshold

Note: spinner currently does not work!
The script will stop refining the box alignment when the last iteration shrunk the box's diagonal by less than so many centimeters.

Realtime Preview

When on, a semi-transparent box will be displayed to visualize how the script refines it's alignment to find the smallest possible box. It can be fun to watch, but will also slow down the process.

Known Limitations and Characteristics: