AliasAlreadyTaken reports: projectiles API #102
Labels
No Label
1. kind/balancing
1. kind/breaking
1. kind/bug
1. kind/construction
1. kind/documentation
1. kind/enhancement
1. kind/griefing
1. kind/invalid
1. kind/meme
1. kind/node limit
1. kind/other
1. kind/protocol
2. prio/controversial
2. prio/critical
2. prio/elevated
2. prio/good first issue
2. prio/interesting
2. prio/low
3. source/art
3. source/client
3. source/engine
3. source/ingame
3. source/integration
3. source/lag
3. source/license
3. source/mod upstream
3. source/unknown
3. source/website
4. step/approved
4. step/at work
4. step/blocked
4. step/discussion
4. step/help wanted
4. step/needs confirmation
4. step/partially fixed
4. step/question
4. step/ready to deploy
4. step/ready to QA test
4. step/want approval
5. result/cannot reproduce
5. result/duplicate
5. result/fixed
5. result/maybe
5. result/wontfix
ugh/petz
ugh/QA main
ugh/QA NOK
ugh/QA OK
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Blocks
#285 Oakenshield reports: I had an idea for a seige weap ...
your-land/bugtracker
#5717 rewired_X reports: bows seem to be broken as hell ...
your-land/bugtracker
Reference: your-land/bugtracker#102
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
AliasAlreadyTaken reports a bug:
Player position:
Player look:
Log identifier
Profiler save:
Status:
AliasAlreadyTaken reports: Ranged weapons ans later also ...to AliasAlreadyTaken reports: projectiles APImaking use of of the builtin collision detection and trying to use that while e.g. leaving arrows stuck in the ground where they hit is proving troublesome, because the phyiscal projectiles keep moving even after they collide, which is bad with lag...
also, when attaching to an entity, i need to check the entity's scale...
today: added drag.
still need to fix attachment to entities, and add a bunch of pre-baked behaviors.
after spending a day trying to get arrows to stick into entities with a reasonable rotation, i'm giving up that for now. x_bows can't do that either. maybe i'll come back to it some day, but i need to read a book on geometry/trigonometry/linear algebra for programmers, it's been 20 years or so since i thought about this stuff. and minetest seems to randomly mix degrees and radians, i need to dig into the code more.
implemented some new behaviors, but didn't get around to testing many of them as i got distracted trying to create a bouncing ball. there's probably a week's worth of coding and bugfixing left, and could be more. i'm quite happy with the basics though.
still making progress. you can now tell a mob what angle (initial velocity) it should shoot an arrow if you want it to be affected by gravity. you can attach a sound to an arrow so you'll hear it like an arrow whooshing towards you.
an attempt to add target-tracking projectiles is currently not working incredibly well.
Took a minute to find the link, so I'll just post it here:
https://github.com/fluxionary/minetest-ballistics
the API part of things is "good enough" at this point, i'm working on porting all the x_bows stuff to a new mod
it's completely non-functional currently, but if people want to track the progress: https://github.com/fluxionary/minetest-y_bows
boop. still not functional. but getting there.
ballistics & y_bows are good enough to put on the test server. pretty much all functionality is there. NOTE: it's recommended to not have x_bows and y_bows installed at the same time
there's still a few minor things i want to implement in y_bows, but i'll probably start working on implementing all our other projectiles next.
ballistics (and y_bows) are live