projectiles arc or just stop completly without gravity for plugin

Started by maxhaaa on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 04:47, 1. Oct 2024
Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
projectiles arc or just stop completly without gravity for plugin

as the title suggests, im creating a plugin that adds a block of code that shoots a projectile AT a set of cordinates, i have everything math wise to allow the player to customise where exactly this shoots from and for the code to automaticly adapt to the change in position and change the speed blah blah blah. the problem im running into is no matter what i do, the test projectiles i am using to demonstrate said code, ALWAYS arc, even with zero gravity they are programmed to slow down and stop, is there anyway i can fix this? i have a work around but its not pretty or conveinent and i wanted it to just be a backup. i have tried everywhich way but cannot change how the projectile acts. the backup method summons the projectile as an entity and not a projectile however is can cause problems because this makes it not have an owner, doesnt show kill messages and you cannot connect the projectile to a shooter and therfore anything else which i find really limiting, any help would be greatily appretiated