Parobolic Azkpath collision prediction

2024.11.26 00:50 Mediocre_Song3766 Parobolic Azkpath collision prediction

Hello all,
In my 2d game I have an enemy that fires bullets along a path that predicts where the player will be based on the player's position and velocity. This is working fine.
The algorithm results in two fire vectors, one with a lower angle and one with a higher. My code opts for the lower angle right now.
What I would like to do is check to see if the lower path will collide with world colliders before the player, and if so, switch to the higher path for the the trajectory of the bullet, and have it be as efficient as possible.
One option I have though of would be having an edge collider that approximates the parobolic path and check for collisions against that, and I think I could use the x coordinate of the collisions and the fire direction to determine if the player or world geometry would be hit first with multiple collisions
Another is to do ray casts along an approximated parabola until either the player or world colliders are hit, which would give me the time value for the case of multiple colliders
Is there a better way to do this? Do either of them intrinsically seem more performant than the other? Idk the efficiency difference between an edge collider and a ray cast
Thanks for any insight
submitted by Mediocre_Song3766 to Unity2D [link] [comments]


2024.11.26 00:50 Keyser_99 The Internet has brought together thanks to this MUšŸ˜Œ

The Internet has brought together thanks to this MUšŸ˜Œ submitted by Keyser_99 to deathbattle [link] [comments]


2024.11.26 00:50 quocdev If you want to translate your app in minutes

If you want to translate your app in minutes I built a tool for myself, but I think it could help others too! It supports translating files like JSON, PO, ARB, iOS Strings, XML, XLIFF, and moreā€¦
Struggling with localization for your app? Drop a comment if youā€™ve faced issues with these file formats!
submitted by quocdev to AppDevelopers [link] [comments]


2024.11.26 00:50 Neat-Replacement-991 Is there a bot that can send an automated message when someone creates a forum post?

I yap a lot, TLDR at the end if you wouldn't like to read all this. This post is basically just the title question but with additional detail that nobody requested.
I really like the idea of Discord forums from an organizational standpoint. I'm in a lot of literate roleplay / writing servers that have dozens of channels that go completely unused on a regular basis, it's annoying to look at. With forums, people can create their own posts that everyone can access, but not everyone gets notifications for every message sent or has to look at tons of old or inactive posts.
I could ramble on about how I like that sort of system, but there's also a major issue that prevents me from using them the way I'd like to. When someone creates a forum post, THEY are the only person shown in the member list on the side, nobody else can join without getting pinged or sending a message. This is abhorrent from a moderation standpoint, I've tested it myself and unless the bot is pinged to be added to the forum, there are no message logs for deleted or edited messages.
I like the fact that the "channels" for the posts on the side disappear after inactivity inside them, too; a lack of messages needs no moderation. While they ARE active, though, staff SHOULD see them, be able to moderate, and bots should also see them so they can log actions. All of this would be fixed if Discord simply added a setting to make selected roles automatically be a part of forum posts (threads would be nice, too, those are also a moderation hassle) but I digress.
I've looked around and I've found nothing easily understandable for someone like me that has a rough time with new bot implementation. I can follow tutorials and pick things up fairly easily, there's just no tutorials or instructions for something like this, well-moderated spaces have simply given up on forums.
I'd rather not get a ping every time someone creates a forum, I'd only like to be able to easily see / access them without digging through the forum itself. I've found that you can actually edit a message to ping someone (this does not send a ping notification) and that still adds them to the thread. Best case scenario, I'd find a bot that can auto-send a message whenever a member creates a post and THEN be able to edit that message to ping the bot role (so all bots have access) and the moderation / staff role (so all moderators can view / moderate the posts) without sending constant notification dinging.
However, I'm genuinely uncertain if that's possible, I'd settle with no complaints for a plain auto-message could be used to ping roles so that the appropriate people / bots have immediate access to the posts.
TLDR: Does anyone know a bot that can auto-message forum posts (and / or auto-edit that message right after) as soon as a server member creates a new one?
submitted by Neat-Replacement-991 to discordapp [link] [comments]


2024.11.26 00:50 IanNKeri Organic Supports Failing

Organic Supports Failing What does one do to avoid this happening?
https://preview.redd.it/ifjpfn6i853e1.jpg?width=1290&format=pjpg&auto=webp&s=844419c211b5c45ff0ee4a39ba0bd21048b0bb13
submitted by IanNKeri to AnkerMake [link] [comments]


2024.11.26 00:50 TacoDuLing LTL: in this scape trick

submitted by TacoDuLing to LooneyTunesLogic [link] [comments]


2024.11.26 00:50 sugarchubbyvixen Eaten cereal for the third time today, but you still havenā€™t figured out your life.

submitted by sugarchubbyvixen to depression_memes [link] [comments]


2024.11.26 00:50 Jaded_Bluejay_759 Nah that's crazy

Nah that's crazy submitted by Jaded_Bluejay_759 to sypherpk [link] [comments]


2024.11.26 00:50 ZookeepergameLimp254 Fun Last Minute Thanksgiving Decoration!

submitted by ZookeepergameLimp254 to thanksgiving [link] [comments]


2024.11.26 00:50 Jusdem Hang from i-joist

Im looking to build a kids gym in my basement and put some monkey bars and maybe a swing in there. Im wondering if attaching them directly to the i-joists is ok, or should I run a 2x4 across them laterally, then fasten the monkey bars and swing to that? I imagine some adult might also decide to hang off it at some point.
I just donā€™t know how strong a single i-joist is for hanging things, and i donā€™t want the bottom flange to rip off.
This is something like what I want to build: https://dealsformomsblog.com/2021/05/16/ninja-warrior-basement/
submitted by Jusdem to DIY [link] [comments]


2024.11.26 00:50 rbarrett96 For those of you that shop at Gruv

How long does it take to get a welcome email and 20% code when you sign up? I've done two separate emails and have gotten nothing. Checkwd spam filter. Maybe they're finally catching on based on IP or something.
submitted by rbarrett96 to 4kbluray [link] [comments]


2024.11.26 00:50 infrequent-poster Losing the wrong coordinator to Oklahoma. Thoughts on replacements?

https://www.reddit.com/sooners/s/pBv7mQ3p5C
Sounds like OC could be headed to Oklahoma, hopefully not taking Mateer with him.
Who should/could we replace with?
submitted by infrequent-poster to wsucougars [link] [comments]


2024.11.26 00:50 Jazzlike_Record_8915 Top 5 BTC Linked Equities

Top 5 BTC Linked Equities https://preview.redd.it/8be6oe9h853e1.png?width=1294&format=png&auto=webp&s=77157a97194f670c98c5a516963299a3736c9e8a
submitted by Jazzlike_Record_8915 to wallstreetbets [link] [comments]


2024.11.26 00:50 HisLoba97 I feel so masculine right now... do I look it?

I feel so masculine right now... do I look it? submitted by HisLoba97 to truscum [link] [comments]


2024.11.26 00:50 senpaitsuyu Specifically for Kafka + Swan DOT which buffer is better? (Body text)

I have E1 Kafka and E0 BS neither with Sig LCs. Would it be better for the team to run an E0 Ruan Mei or an E1 Robin?
submitted by senpaitsuyu to KafkaMains [link] [comments]


2024.11.26 00:50 Dandyman51 McKinsey Summer Associate Post-mortem

Given that McKinsey invites are finally out, I would like to setup a thread to have a post-mortem on how people felt the recruiting journey went for them and any thoughts on what this year's results mean about consulting, Mckinsey, the job market, the economy etc. Feel free to rant and offer conspiracy theories as well.
I'll start:
School: T15 Consulting Focused
Office: Philadelphia
Journey: I felt pretty good generally about the journey. I had reached out to a couple of people at my target office. McK had switched up OCRs on us a couple of times so something felt really off for them the whole recruiting season. After I had applied, someone from their target office had reached out to me for a coffee chat so I though I stood a pretty good chance but it looks like no one from my school good an interview from this office among various others.
Impact: Once other companies come out with invites I'll be more confident in my analysis of the industry. I have an invite with another consulting firm(non-MBB) so I don't think it is all doom and gloom yet. It is very possible that McKinsey may just be dying(especially post John Oliver). I know at the previous fortune 100 company I worked for, they no longer get our business because they are too expensive and the work quality is frankly garbage. From the second years I talked to who interned there last summer, it appears start dates are already beginning to be pushed out and there have been some candid conversations about layoffs. The job market definitely feels tighter than the headline numbers seem to indicate.
submitted by Dandyman51 to MBA [link] [comments]


2024.11.26 00:50 AdPlastic7988 M23, 6ā€™2ā€, 225 lb. Continue bulking or cut? How do I look in general? 3 years of lifting.

M23, 6ā€™2ā€, 225 lb. Continue bulking or cut? How do I look in general? 3 years of lifting. submitted by AdPlastic7988 to BulkOrCut [link] [comments]


2024.11.26 00:50 schuylab More red and black bins

Top drawer in progress. About half of these were modeled by others. I promise Iā€™ll start linking and uploading models this week!
submitted by schuylab to gridfinity [link] [comments]


2024.11.26 00:50 IndependentStable518 Workout Plan Help

So i just started working and im a 13 year old basketball athlete with a stomach. I wanna do this beginner plan 50 push ups 50 crunches and 50 squats each day or 2 rest days. If ypu guys have any other better workout plans i can follow please recommend.
submitted by IndependentStable518 to workout [link] [comments]


2024.11.26 00:50 Icy-Revolution-1 Iā€™ve met a girl on instagram but I think sheā€™s trying to manipulate me

Iā€™ve met a girl who claims that sheā€™s Russian but I think sheā€™s lying. Recently I met a girl on ig, she was really nice to me and all. She told me sheā€™s from Moscow and when I asked her about the school days she said ā€œoh, hmm my classes start at 8:30, usually end at 18:30, that's how it is..ā€ but Iā€™ve searched everywhere and canā€™t find a single thing about Russian school days being 10 hours long (Sheā€™s in 9th grade and same age as me). My doubts are starting to increase because she said sheā€™s leaving for school but then texted me at 10:27am. I js wanna know if sheā€™s lying or not because Iā€™ve been manipulated by 2 other girls in the past and not to mention her behaviour is pretty suspicious. Like she replies to every single one of my msgs and reacts to them with a heart emoji. She watches all the reels I send her and she also sent me her pictures, but I refuse to believe someone that beautiful could have a heart like that. I have trust issues and got literally no friends cuz of it (irl and online)
submitted by Icy-Revolution-1 to Manipulation [link] [comments]


2024.11.26 00:50 Soul-Revival My betta is very dormant and not eating much

Iā€™ve changed the water but was acting that way beforehand. I have turned the water heater on due to colder temps but still swimming slow. In the past sheā€™s had issues with bloating and floating to the top but diet changes helped with that. Any tips?
submitted by Soul-Revival to bettafish [link] [comments]


2024.11.26 00:50 Alexc872 What the hell?

Third occurrence of being automatically banned from a Subreddit because I interact with Asmongold happened today.
Keep in mind, I mostly interacted with this subreddit when his focus was centered around video games. I donā€™t watch him a whole lot anymore, but pop in here or ok YouTube occasionally. Been popping in a little more when the election happened.
But because I sporadically interact with this Reddit, Iā€™m getting silenced and banned on other Reddits? What the hell is going on?
submitted by Alexc872 to Asmongold [link] [comments]


2024.11.26 00:50 Happy_Ad_9976 FUCK NO

FUCK NO submitted by Happy_Ad_9976 to TheLastOfUs2 [link] [comments]


2024.11.26 00:50 Samjaxxson STORYTIME: Urban Farming in Toronto - End of Year 8

submitted by Samjaxxson to toronto [link] [comments]


2024.11.26 00:50 drred123 My tire pressure indicator came back on after restarting the TPMS (Honda accord 2020)

I recently purchased a used 2020 Honda Accord and decided to check the tire pressures, even though the tire pressure warning light wasnā€™t on. I wanted to make sure the tires werenā€™t overfilled or underinflated. One of the tires was at nearly 43 PSI, so I adjusted all the tires to 32 PSI. However, after making the adjustment, the tire pressure warning light came on. I recalibrated the TPMS, but after driving home, the warning light came back on again. recalibrated it again but now Iā€™m concerned that the light will come back on. do I have to recalibrate it again until itā€™s reading the proper PSI or is it a faulty sensor?
submitted by drred123 to Honda [link] [comments]


https://google.com/