UCX Collision Creator

5 votes
Version: 
1.0
Date Updated: 
05/27/2013
Author Name: 
Sam Deiter

This script allows you to make an Unreal UCX collision hull from your selection in one click.

Additional Info: 

To install and use the script, do the following.
1: Drag the script from the download location to the 3Ds Max Viewport.
2: Under the Customize menu, open the Customize user interface.
3: Navigate to the Quads menu.
4: Under the Category menu find the Unreal Tools category.
5: Move the Make a single UCX Collision Box to a Quad Menu of your choosing.
5B: You could also assign the script to a "Hot Key".
6: Make sure your object is in edit poly mode and that you have at least 3 faces selected.
7: Run the script and you should now have a collision box that is the size of your selection.

I have only been able to test this script out with 3Ds Max 2010 and 2012 but the script is pretty simple so you should not have any issues using it in other versions of Max.

Version Requirement: 
2010 2012
Video URL: 
AttachmentSize
ucx_box_collision_tool_00.ms2.38 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kmitchell.12catblackstudios@gmail.com's picture

Modification

Line 94:

the_box = Box prefix: ("UCX_" + selection[1].name+"_") lengthsegs:1 widthsegs:1 heightsegs:1 length:l width:w height:h pos:c

Uses the mesh name vs UCX_Collision_Hull_

Also to adapt the pivot location.

convertToPoly(the_box)
the_box.pivot = selection[1].pos --< Used to adapt the pivot to the source object
the_box.wireColor = (color 255 0 255 )

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.