Player projectiles now snap to block grid, instead of spawning at player position
Partner Rank: 2
Partner Team Reporting:
Spark Universe
Verification builds:
1.19.70.23
Summary:
Player projectiles now snap to block grid, instead of spawning at player position.
Impact:
Causes inconsistent projectile offsets, impacting the experience of players with no apparent way for us to fix.
Repro Steps:
- Install the attached BP
- Stand on the corner between 4 blocks
- Shoot a projectile by running "/event entity @s x11:shoot_projectile" in chat (on maps this would be done by using an item)
Observed Results:
The projectile will spawn at the center of one of the 4 adjacent blocks, causing it to appear either to the right or the left hand side of the player.
Expected Results:
The projectile should spawn exactly at the player's eye position, at it did in the regression build.
Screenshots/Videos attached: Yes/No
Yes
Regression Builds:
1.19.60.22
Notes:
This seems to be related to the minecraft:spawn_entity component, which is used to spawn the projectile. The component is the only way to spawn player projectiles, since the summon command does not apply the aim direction.