Doce 💫

@doceazedo.com

🦄 Unicorn dev, hobbyist DJ & full-time nerd 🏳️‍🌈🏳️‍⚧️ he/they • Have fun 🤠👉 https://doce.sh

There are two ways to resolve the cognitive dissonance of being on Twitter while also caring about all the awful shit happening because of Twitter 1. Leave Twitter 2. Stop caring Profoundly disappointing how many people I like seem to have chosen the latter

the aim assist now uses a raycaster to see if it would hit an enemy. if false, it uses a shapecaster to find the nearest hurtbox to correct the aim to previously i was just checking for enemies nearby the cursor in a radius and just aiming at their center position (+ falloff) 😬

Top-down view of a player and a goblin enemy.

Gray line: original aim direction
Green line: corrected aim direction
Yellow capsule: shape cast to find nearest enemy along aim direction
Red sphere: contact point between capsule and enemy