Hi all.
Firstly, saving.
It would be handy if the command
SaveObject(objID,szFilename) was implemented.
Maybe static and animated FBX and other common formats.
Secondly, features.
I have been trying to get a 3D physics car to work but it looks like there are a few 3D physics commands missing for tier 1.
SuspensionStiffness
SuspensionCompression
SuspensionDamping
MaxSuspensionTravel
MaxSuspensionForce
SuspensionRestLength
WheelDirection
WheelAxle
etc....
I have managed to get a 3D physics car driving around using the friction of the wheels on the terrain but it is not reliable or good enough yet for release.
Thirdly, bugs !!! (stands on chair)
I'm not sure yet if this is an AGKS bug or just me doing something noobish again.
Since I don't see any axle commands I've been using the following commands to rotate a joint connected to a wheel. See that I'm telling the FLwheeljoint to rotate twice. The first wheel I tell to rotate never does, so I tell it a second time and it works.
maxImpulse=100
Set3DPhysicsHingeJointMaxMotorImpulse(FLwheeljoint,maxImpulse)
Set3DPhysicsHingeJointMaxMotorImpulse(FRwheeljoint,maxImpulse)
Set3DPhysicsHingeJointMaxMotorImpulse(RLwheeljoint,maxImpulse)
Set3DPhysicsHingeJointMaxMotorImpulse(RRwheeljoint,maxImpulse)
Set3DPhysicsHingeJointMaxMotorImpulse(FLwheeljoint,maxImpulse)
For now it's just a work around and I still need to improve the code to have reliable forward and reverse.
If anyone has any ideas or opinions........ cheers.
Never play leap frog with a unicorn.
