Projecile offset is applied relative to world position rather than local entity position.
Partner Rank:
3
Partner Team Reporting:
Gamemode One
Verification builds and Platforms:
Minecraft.Windows_1.16.20002.0_x64_Test
Regression build:
None
Summary:
Projecile offset is applied relative to world position rather than local entity position.
Impact:
Having projectile offset take entity rotation into consideration would make the X or Z directions much more useful. As it stands, there aren't very many contexts in which the offset can be used.
Reproduction:
I have provided an mcworld which can be used to easily reproduce the issue.
1. Import the mcworld into your game and open it.
2. Postion yourself at different positions around the test_blaze entity.
3. Observe the projectiles being created at the same world position without regard to the blaze's rotation or your postion
Observed Results:
Projectiles are being created at the same world position without regard to the blaze's rotation or your postion.
Expected Results:
The offset creation point for the projectiles should rotate relative to the entity firing the projectiles.
Screenshots / Videos attached:
Here is a link to a video that demonstrates me using the provided mcworld to reproduce the issue.
https://youtu.be/AQRQ5srjSIY
Notes: