Anyone else noticed this? Like how the FireExtinguisher had problems with rotation on the Z axis, it seems a number of other things has similar problems as a result of the vector offset method used or the tracking of player view rot. Problems such as the spawn location of ejected bullet casings changing inaccurately based on player rotation and whether crouched or not, and any projectile that isn't spawned from the center of the screen is inaccurately spawned under these conditions (variable player rotation & collision height) too.
Grab the assault rifle and rotate/crouch while firing to notice it, or note how all projectile-based weapons spawn the projectile from the center of the screen rather than the gun. One exception may be the flamethrower, but everything else (xbow, GEP etc) spawns from the center of the screen.
Poor Vector Offset Implementation
-
- Illuminati
- Posts: 2284
- Joined: Thu Mar 08, 2012 3:21 am
Poor Vector Offset Implementation
Last edited by Cybernetic pig on Sat Jun 20, 2015 2:38 pm, edited 1 time in total.
Re: Poor Vector Offset Implementation
Actually the fire extinguisher is not just fixed with tying the projectile generator to the ViewRotation. Actually for other players (or in mirrors) the player actually spits it out of his month. Looks ridiculous. So one major problem is actually that one needs to find some compromise which would look fine in 3rd and 1st person which is even worse.
-
- Illuminati
- Posts: 2284
- Joined: Thu Mar 08, 2012 3:21 am
Re: Poor Vector Offset Implementation
Is the problem engine-side then? It really cannot be fixed? How could this come to be? How does the weapon for example follow the player rotation correctly? Can we not use the weapon itself as the coordinates for spawning?
-
- Illuminati
- Posts: 2284
- Joined: Thu Mar 08, 2012 3:21 am
Re: Poor Vector Offset Implementation
I really don't give a crap about third person (at least when spawned by the player anyway). I want optimal first person spawn location, so everything spawns in the correct location (end of the gun for projectiles, and side of the gun for ejected bullet casings) and doesn't freak out based on player view rotation or whether crouched.
Change the assaultgun fireOffset so that grenade launcher fires from the end of the gun rather than center of the screen for example and note how the spawn location changes inaccurately based on viewRotation and/or if crouched.
The problem is that the spawn Location isn't changing correctly based on the player view rotation if an offset is used.
Change the assaultgun fireOffset so that grenade launcher fires from the end of the gun rather than center of the screen for example and note how the spawn location changes inaccurately based on viewRotation and/or if crouched.
The problem is that the spawn Location isn't changing correctly based on the player view rotation if an offset is used.