quote:
outch! You should never ever load things in the main loop.
Instead load then at startup, the reuse them. you can also load each thing you are going to use, then use CopyMesh to create a clone on the fly.
also make sure your bullets are not parented to anything (eg. to the camera, via gun). So use EntityParent shot\model,0
If MouseHit(1) shot.bullet = New bullet shot\model = LoadMesh("C:\Documents and Settings\flacka\Desktop\Game\bullet head.3ds") shot\casing = LoadMesh("C:\Documents and Settings\flacka\Desktop\Game\b caseing.3ds")
outch! You should never ever load things in the main loop.
Instead load then at startup, the reuse them. you can also load each thing you are going to use, then use CopyMesh to create a clone on the fly.
also make sure your bullets are not parented to anything (eg. to the camera, via gun). So use EntityParent shot\model,0