Hello alltogether,
//
I’m doing a racing game in third person perspective, so the camera is located right behind the racing vehicle. Unfortunatly the floor used to disappear as the vehicle drove over it. So I actived FrustumClipping, that solved this problem but created a new one. In my game wild boars come towards the player, so he has to dodge them. These boars are nicely animated MD2-models, but as soon as they come closer to the player their animation freezes. When I turn off FrustumClipping they animate fine, but the floor starts to disappear again.
So I tried NearfieldClipping and RectangleClipping as well, but the former one does freeze the animation as well, while the latter one makes the floor disappear, also.
//
So I was very happy when I came across this thread:
, where somebody else had the very same problem which was finally solved by Fabrices idea to massively scale up the models.
//
Unfortunately i had less luck. First I scaled the boar-model up to 1000% in my modeling software and then scaled it back down inside Away3D. This did not prevent FrustumClipping from freezing the animations. Next thing I tried is to scale up the boars inside my game, so they become bigger. That worked when they finally were five times as big as intended. They played their animation properly, but of course were far to big for my game. So I scaled up everything in the whole game, first by factor 5, then by 10, and finally by factor 100, so the boars ended up with a width of about 20.000. In every case their animation freezed, and also the floor still disappeared with FrustumClipping turned off. So scaling up everything is of no use, the problems scale along with :( .
//
But maybe I only understood Fabrice wrong? Or I overlook something important? Perhaps there is a way to hack the FrustumClipping-Class to not affect animations? I tried, but I failed in understanding all the mathematics going on in there. Please help me, the project is almost finished.