unable to instantiate non-conobject
by Andy Simon · in Torque 3D Professional · 07/30/2009 (3:48 pm) · 4 replies
Hey guys quick question,
I was trying to create a Pathmarker object in the world Editor but nothing would create after I hit the create button. Console output was:
1: Unable to instantiate non-conobject Class PathMarker
I also get this error when i try to create a PXCloth object. I did find a thread about a helper function in objectBuilderGui.ed.gui and added
But that didn't help me (I am using beta 4). The PXCloth object was doing the same thing in beta 3 for me. Thanks for any input.
I was trying to create a Pathmarker object in the world Editor but nothing would create after I hit the create button. Console output was:
1: Unable to instantiate non-conobject Class PathMarker
I also get this error when i try to create a PXCloth object. I did find a thread about a helper function in objectBuilderGui.ed.gui and added
function ObjectBuilderGui::buildPathMarker(%this)
{
%this.className = "Marker";
%this.process();
}But that didn't help me (I am using beta 4). The PXCloth object was doing the same thing in beta 3 for me. Thanks for any input.
About the author
#2
07/31/2009 (9:09 am)
I was using a newProject, ill see what happens if i try the PhysX demo (for the PXCloth anyway)
#3
1. Object Editor -> Library -> Level -> Level -> double-click PathMarker
2. Insert name -> hit "create new"
3.Receive PathMaker at previously selected drop location
Also incase you're not aware, there is no PhysX stuff integrated into anything other than the PhysX demo.
07/31/2009 (9:48 am)
Sounds daft but, what were your steps for trying to add a PathMarker?1. Object Editor -> Library -> Level -> Level -> double-click PathMarker
2. Insert name -> hit "create new"
3.Receive PathMaker at previously selected drop location
Also incase you're not aware, there is no PhysX stuff integrated into anything other than the PhysX demo.
#4
I was able to add a PXcloth in the physX levels and the cloths work as they should :D. Thanks for your help steve!
EDIT:
Yep, user error... I decided to double check the script i edited on friday, and some how I must have not saved the changes when i added the helper function.. But yeah it all works now :D
08/03/2009 (7:59 am)
Yep thats exactly how I tired to add one. But at step 3 there is nothing added to the scene and the error message is in the console.I was able to add a PXcloth in the physX levels and the cloths work as they should :D. Thanks for your help steve!
EDIT:
Yep, user error... I decided to double check the script i edited on friday, and some how I must have not saved the changes when i added the helper function.. But yeah it all works now :D
Associate Steve Acaster
[YorkshireRifles.com]
I haven't played around with PhysX stuff so no help on that. PathMarkers work fine with NewProject.