Use degrees instead of radians for rigidbody constraint axis (euler angles). Radians can't specifiy 90-degree angles precisely, the input is only 3 decimals accurate...

This commit is contained in:
2006-12-18 07:51:12 +00:00
parent abda078196
commit 0e6518731f
4 changed files with 17 additions and 10 deletions

View File

@@ -745,7 +745,7 @@ void *new_constraint_data (short type)
data->pivZ=0.0;
data->axX=0.0;
data->axY=0.0;
data->axZ=1.0;
data->axZ=0.0;
for (i=0;i<6;i++)
{
data->minLimit[i]=0.0;