See screenshot
Because I am using Dark AI to control Baddies but want to use dark physics collision, I have been creating character controllers just before “physics update” for collision then deleting them to allow AI to move the baddie. Rigid bodies, static and dynamic messed up movement.
Unfortunately, for some reason dark AI causes the “Object Position x( )” Command to return “-1#IND” instead of proper x co-ordinate (the same happens with z coordinate) – See top left of the screen shot - these are cat xyz co-ordinates.
This only happens when the gerbil jumps straight up and is getting attacked by a cat.
So when I create the character controller it is using “-1IND” as a coordinate and causing an error and declaring it as a physics error – even though It originates in AI.
This has now been fixed by a very simple solution – If new Coordinates are going to give the error – just use the old ones. Took a long time to figure this out and although my solution is not Pretty, it is effective.
thanks to Cash Curtis II