T3D 1.1 Preview - Datablock editor not saving the massCenter attribute for RigidShapes - RESOLVED (THREED-1778)
by Lunacy · in Torque 3D Professional · 04/29/2011 (6:49 am) · 4 replies
Build : T3D 1.1 Preview
Platform : Windows 7 64b
Target : Datablock editor I think
Issue: Impossible to get the editor to save any new value for the massCenter, it always goes back to "0 0 0"; editing the .cs file does not help
Steps to Repeat:
1) Create a full template project
2) Try to edit the massCenter attribute for the bouncingBoulder RigidShape datablock
3) Save, open another datablock and open the bouncingBoulder datablock, and see it didn't change
Nothing specific in the console. The other attributes seems to behave correctly (haven't checked them all though).
I think I should also add that this problem does not exist in 1.0.1 and 1.1 B3.
Platform : Windows 7 64b
Target : Datablock editor I think
Issue: Impossible to get the editor to save any new value for the massCenter, it always goes back to "0 0 0"; editing the .cs file does not help
Steps to Repeat:
1) Create a full template project
2) Try to edit the massCenter attribute for the bouncingBoulder RigidShape datablock
3) Save, open another datablock and open the bouncingBoulder datablock, and see it didn't change
Nothing specific in the console. The other attributes seems to behave correctly (haven't checked them all though).
I think I should also add that this problem does not exist in 1.0.1 and 1.1 B3.
#2
To fix this, remove the following line from Engine/source/T3D/rigidShape.cpp
Let me know if that doesn't work out for you.
05/06/2011 (6:17 pm)
Hey Lunacy, thanks for reporting this issue.To fix this, remove the following line from Engine/source/T3D/rigidShape.cpp
if (vertFactor < 0.0f || vertFactor > 1.0f)
{
Con::warnf("RigidShapeData::preload: vert factor must be [0, 1]");
vertFactor = vertFactor < 0.0f ? 0.0f : 1.0f;
}
massCenter = Point3F(0, 0, 0);// <- REMOVE THIS LINE.Let me know if that doesn't work out for you.
#3
05/07/2011 (3:17 pm)
Hey Ray, it's working perfectly for the moment, thanks for your work.
#4
05/11/2011 (3:56 pm)
Fixed in 1.1 Final.
Associate David Montgomery-Blake
David MontgomeryBlake