Is it possible to resize a newton body after it is created?
The ideal interface I would like to have would be similar to the following
cube->setSize( 2, 2, 2);
Moderators: Sascha Willems, walaber
Modifier:=NewtonCreateConvexHullModifier(Manager.World,Collision);
NewtonBodySetCollision(Body,Modifier);
NewtonReleaseCollision(Manager.World,Modifier);
NewtonConvexHullModifierGetMatrix(Modifier,@scaleMatrix[xX,xX]);
cv:=oxV3Make(BaseObj.UserData.Scale.X,BaseObj.UserData.Scale.Y,BaseObj.UserData.Scale.Z);
scaleMatrix:=GLSSclMatrix(scaleMatrix,cv[xX],cv[xY],cv[xZ]);
NewtonConvexHullModifierSetMatrix(Modifier,@scaleMatrix[xX,xX]);
Users browsing this forum: No registered users and 9 guests