Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 132
    • Issues 132
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Issues
  • #1264

Closed
Open
Created Aug 19, 2023 by Taiyou06@Taiyou06Developer

projectilevelocity working incorrectly

According to my observations projectilevelocity is working incorrectly. Below are tested in an onStart skill. Some are tested with a delay.

  • Adding ANY amount of speed using - projectilevelocity{mode=ADD;vx=;vy=;vz=} completely overrides the velocity the projectile launches with at the start.
  • Adding 0 speed to all axes result in a forward speed change.
  • Adding any amount of speed NOT in the forward/backward axis still produces a forward speed change as a side effect.
  • Forward/backward axis is vz instead of vx. vx becomes the left/right axis. This should not be the case according to the wiki. https://git.mythiccraft.io/mythiccraft/MythicMobs/-/wikis/skills/mechanics/projectilevelocity
  • Setting the speed to 0 using - projectilevelocity{mode=SET;vx=0;vy=0;vz=0} causes projectiles to disappear.

Velocity with relative enabled also has some problems.

  • Changing the velocity of an entity with - velocity{m=set;relative=true;x=;y=;z=} is not relative. For example, using - velocity{m=set;relative=true;x=0;y=0;z=5}results in a velocity change with force depending on the angle between your facing direction and the Z axis. For example while facing +X you almost don't get pushed at all, but you get the full velocity while facing -Z or +Z.
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking