Mojira Archive
MCM-1268

When using runtime_identifier:arrow and default arrow's animation (animation.arrow.move), custom projectile is not rotating along Y axis while flying.

Partner Rank: 2
Partner Team Reporting: Shapescape
Verification Builds: Official Release 1.16.200
Regression Builds: Beta 1.16.100.56
Summary: When using runtime_identifier:arrow (also affects runtime_identifier:trident) and default arrow's animation (animation.arrow.move), custom projectile is not rotating along Y axis while flying.

Affects currently Live Content: No
Impact: A runtime_identifier is usually needed for custom arrow-like projectiles to function properly as the visual properties of default arrow are not fully data-driven. We've put a lot of effort in one project (already submited) it affects. It's still playable, but the experience is much worse.

Repro Steps:
First approach:
Step 1: Create a custom projectile entity
Step 2: Give the custom entity a runtime_identifier of a arrow.
Step 3: Copy the arrow.entity file from the vanilla resource pack, paste it to your world and change it's name and identifier for the new projectile entity. Make sure it applies animation called "animation.arrow.move".
Step 4: Create a custom ranged attack entity that shoots the custom projectile you created, or edit a default entity to shoot it.
Step 5: Give the shooter entity a target to attack

Second approach for only in-game effect:
Step 1: Download the projectile_bug_world.mcworld file and run it on your computer
Step 2: After minecraft opening, enter the world
Step 3: Observe the behavior of the projectiles.
Step 4: In case nothing is happening, use spawn eggs from hotbar to spawn one target entity in the middle and 4 or more shooter entities around it

Observed Results: If default arrow's animation "animation.arrow.move" is applied, custom projectiles will appear to fly properly, but rotation along Y axis will be broken, even though it works for default arrow and other entities.
Expected Results: If default arrow's animation "animation.arrow.move" is applied, entity's model should rotate around Y axis and point the target.

Screenshots/Videos attached: Yes
Notes: From what I tested, it seems query.target_y_rotation isn't working properly in this animation when runtime_identifier:arrow is applied. Query.target_x_rotation seems to work fine.

Unresolved

Tomaszan

2020-12-10, 02:43 PM

2020-12-10, 11:45 PM

2

0

Future Release

-