Started by
Xnano Gaming 567 RXQ
on
Topic category: Advanced modding
Is it possible to have projectiles circle you for a limited time and if possible to not make them disappear when an entity hits them.
Topic category: Advanced modding
Is it possible to have projectiles circle you for a limited time and if possible to not make them disappear when an entity hits them.
Without coding them manually, I think not.
alright thanks
another question though. How would I make an item shoot projectiles really fast for 5 seconds.
You could use a bit of highschool math for this. You don´t event need to code, although i did (I created a homing projectile recentely). Pythagoras theorem or however it is called in english can help you. You need two triangles: One for your rotationYaw and one for your rotationPitch. After that lot of work with "sin", "cos" and "tan". Keep an eye on the 4 Quadrants however. If you want to edit the arrowentity you have to go into the code and add the arrowentity as a dependency and convert it to a normal entity for easy usage. Respond to me, if you want more insight into how to do it, if that is even what you want.