nvpx.CreateConvexHull Error - Cannot convert Editable Mesh to type Mesh

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
Prev Previous Post   Next Post Next
  04 April 2012
nvpx.CreateConvexHull Error - Cannot convert Editable Mesh to type Mesh

After updating the PhysX plugin to 2.71 in Max 2012 a chunk of code now fails. In fact, the code fails in a vanilla install of Max 2013 too. The following code worked for me in previous versions, though.

/*Make a teapot*/
tp = TeaPot()
/*convert teapot to mesh to pass into PhysX function*/
ConvertToMesh tp
/*Create an empty Editable_mesh to store the new hull*/
newnode = Editable_mesh() 
newnode.mesh = nvpx.CreateConvexHull (tp) 44 0 --Exception happens here! 
update newnode

The exception that happend:
Quote: -- Unable to convert: $Editable_Mesh:Teapot001 @ [0.000000,0.000000,0.000000] to type: Mesh

Any ideas? Is it that I was originally using this function incorrectly (but it magically worked), or is this a new bug?
Shawn Olson
Autodesk Expert Elite
3ds Max Charter Member

Developer of:
Wall Worm Tools
CorVex Level Design Plugin
  share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 04:33 AM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.