Falling through ground
by Vasilios Hioureas · in Torque X 3D · 06/18/2009 (7:43 pm) · 22 replies
Im having a problem, when i move my character around, at some random points in the terrain, i end up falling through.
does anybody know what this might be caused from or how to fix it. or also, is there a way to find out the height of the terrain at the place which you are stepping so that i can do a:
if (myPosition < terrainPosition)
myPosition = terrainPosition+1;
or something.
thanks
Vas
does anybody know what this might be caused from or how to fix it. or also, is there a way to find out the height of the terrain at the place which you are stepping so that i can do a:
if (myPosition < terrainPosition)
myPosition = terrainPosition+1;
or something.
thanks
Vas
About the author
#22
Note I had a custom component in my TorqueObject components: my AiComponent. Plus I had overridden my CopyTo method already...so those may have been the issue.
08/16/2010 (1:33 am)
I put a breakpoint on the CopyTo to ensure the T3RigidManager was being copied over, and discovered none of my components were making it over to the TorqueObject clone. I gave up on trying to modify the CopyTo component and just generated the objects as new TorqueObjects.Note I had a custom component in my TorqueObject components: my AiComponent. Plus I had overridden my CopyTo method already...so those may have been the issue.
Torque 3D Owner Henry Shilling
Smokin Skull
Glad you figured out the RigidComponent thing. How did you find out it was not cloning correctly? I use object.CloneT() and have not had an issue, that I know of.