my testing method of “put a bunch of em down, see what goes wrong then
try and fix it” is working pretty well, even if it looks like chaos.
this is my third version of a way to move AI - first I tried using unity’s built in pathfinding but that wouldn’t work for procedural environments. then I tried using the A* pathfinding project for unity, which is free and good! but overall too much for what I need. so I decided to just write what I needed myself, as well as giving playmaker a go (which I never have before, and it seems very useful and good!).
there’s a fair bit going on here but the simple simple version is:
- an AI gets a new position in front of it (newPos) by a set distance (jumpDistance)
- newPos is re-positioned to match the height of the ground above or below it
- if newPos is behind or in front of something else by the width of the AI’s model, reposition newPos to be in front of it enough that the model won’t clip through it when moved to it
- some stuff making sure the peak of the jump is positioned above a rise so the model doesn’t clip through anything while moving to newPos, otherwise the peak of the jump is half way between the starting positon and newPos
- some other stuff making the peak of the jump be half way between the starting pos and the adjusted newPos if it was moved in front of something
- jump to newPos! move to the peak of the jump then back down to newPos
- check if there’s something in front of it’s new position, and if there is, try turning left, then right, then backwards. then start over by getting a new newPos!
this is all for if the player is not inside the same room as the AI - if they player is around then their newPos becomes jumpDistance towards the player’s position instead of directly in front of the AI, and they turn to face the player constantly so don’t need to do turn checks left/right/back when an obstacle is in front of them
I haven’t got them aligning to slopes yet so I’ll do that next!
More you might like
Let's talk stitches!
While a sewing machine is super convenient, having access to one is not required for mending. Most mends can easily be done by hand. If you're really patient, you can even make entire garments by hand, just like they did in ye olden days.
So, let's take a look at a few basic hand sewing stitches to get you started.
(Image source) [ID: hand stitches for quilters: the running stitch, slipstitch, backstitch, whipstitch, and blanket stitch.]
The running stitch
The running stitch can be used for many purposes. It's popular in embroidery, and can be used to outline shapes or baste (temporarily secure) pieces together. It can also be used to ruffle fabric by hand, and I personally use it a lot to secure patches in place when covering up holes in garments. The running stitch is also the base stitch for sashiko, a popular style of visible mending.
Video tutorial for the running stitch
Text tutorial for the running stitch
The slipstitch
The slipstitch, also known as the ladder stitch, is my go-to stitch for closing tears and fixing torn seams. This stitch is frequently used to sew pieces of knitting together, too. You can also use it to make small size corrections in a garment, for example to add a quick dart or to make a side seam smaller. It's invisible on the outside, which makes it a great stitch to fix up things like plushies, duvet covers, or pillows.
Video tutorial for the slipstitch
Text tutorial for the slipstitch
The backstitch
The backstitch will likely be the stitch you'll be using the most when working on a project. It's a strong, clean stitch that can be used for almost anything: seams, hems, embroidery, attaching two pieces of fabric together, zippers,... This is also the best stitch to imitate machine sewing with. If you're only going to learn one hand sewing stitch, then make it the backstitch!
Video tutorial for the backstitch
Text tutorial for the backstitch
The whipstitch
The whipstitch, also known as the overcast stitch, can be used to stop fabric edges from fraying and is great to finish seams off with. It can also be used to quickly sew two pieces of fabric together, for appliqué, or as a decorative technique. I personally prefer the blanket stitch over the whipstitch because it's a little cleaner, but the whipstitch is faster than the blanket stitch.
Video tutorial for the whipstitch
Text tutorial for the whipstitch
The blanket stitch
The blanket stitch is great for finishing off seams and stopping fabric from fraying. It's also frequently used for appliqué and embroidery, and can be used to make button holes by hand. It looks neater than the whipstitch, but is also slower to get done.
Video tutorial for the blanket stitch
Text tutorial for the blanket stitch
Conclusion
Get yourself a spare piece of fabric and try these stitches out before attempting them on a real project. I promise you'll get the hang of them quickly!
If you're only going to learn one of these, then make it the backstitch as it's the most versatile hand stitch.
Weather is getting warmer and I've been thinking about Cardassian swimwear. It should definitely cover both body "spoons", but since it is swimwear it could be a bit more casual and revealing.
Sooo, have a look at Damar in swimsuit relaxing somewhere on the beach!
OR
"Gul, this tiny bastard has just bitten my tail!"
Reckless Cohort
“You have a family. Mine died at Sea Gate. You go to yours, and I’ll go to mine.”
Artist: Volkan BaǵaTCG Player Link
Scryfall Link
EDHREC Link











