Forum: Sonstige Fragen zu Delphi
Delphi
by TurboMartin,
13. Jun 2006
hast du denn auch type
TCollisionPrimitiveArray = array of PNewtonCollision; angegeben?
Forum: Sonstige Fragen zu Delphi
Delphi
by TurboMartin,
12. Jun 2006
Ich glaub, du brauchst einen anderen Array: const collisionPrimitiveArray : TcollisionPrimitiveArray
Edit:
Musst du noch einfügen:
type
TCollisionPrimitiveArray = array of PNewtonCollision;
Forum: Sonstige Fragen zu Delphi
Delphi
by TurboMartin,
12. Jun 2006
Wieso nicht?
Bei mir ging es ma, aber seit dem Delphi 7 auf dem einen Rechner kaputt ist, und nicht reparierbar ist, ohne Windows neu aufzusetzen, weiß ich nicht mehr genau wie.
Forum: Sonstige Fragen zu Delphi
Delphi
by TurboMartin,
12. Jun 2006
mach mal
Function Combine(box1, Box2: Pnewtonbody): PNewtonCollision;
Var
Arr: Array Of pNewtonbody;
Begin
Arr := Box1;
Arr := Box2;
Result := NewtonCreateCompoundCollision(newtonworld, 1, @Arr);
Forum: Sonstige Fragen zu Delphi
Delphi
by TurboMartin,
12. Jun 2006
Ich weiß zwar nicht, wie du C kannst, aber vielleicht hilft das:
**********************************************************************************************
//
// complex collision primitives creation functions
// note: can only be used with static bodies (bodies with infinite mass)
//
//...