[Fixed]Weapon accuracy problem after mounting...
by CSMP · in Torque Game Engine · 02/24/2010 (7:14 pm) · 0 replies
Hey guys, After some long needed rest I'm starting to get some more work done on my project, though there are still some minor and major problems, I am getting much closer to an "actual" Beta/Pre-Beta version.
I've been having this problem for a while now but just recently found out the exact culprit of the bug...
When I fire my weapon after loading the level I can fire my weapons with the accuracy that is intended, However my problem is that when I mount a vehicle then unmount and try firing the weapons again they have become terribly inaccurate... As in the muzzlesmoke and the projectile are being called from some imaginary barrel completely seperate from the weapon model itself.
For the longest time it almost seemed as if there was a sync problem with client/server and weapons and I thought I had it fixed but I'm doing some pre-beta testing and found it.
I am going to look into this problem further for more information.
Edit: Mounting turrets also affects weapon accuracy...
Edit2:After looking into it further there was a problem in the unmounting functions used for the MGSK that was causing this to occur, still checking all other instances that this may have affected and working on the overall bugfix.
I've been having this problem for a while now but just recently found out the exact culprit of the bug...
When I fire my weapon after loading the level I can fire my weapons with the accuracy that is intended, However my problem is that when I mount a vehicle then unmount and try firing the weapons again they have become terribly inaccurate... As in the muzzlesmoke and the projectile are being called from some imaginary barrel completely seperate from the weapon model itself.
For the longest time it almost seemed as if there was a sync problem with client/server and weapons and I thought I had it fixed but I'm doing some pre-beta testing and found it.
I am going to look into this problem further for more information.
Edit: Mounting turrets also affects weapon accuracy...
Edit2:After looking into it further there was a problem in the unmounting functions used for the MGSK that was causing this to occur, still checking all other instances that this may have affected and working on the overall bugfix.