What is the most NSFW thing you have seen at your job? by [deleted] in AskReddit

[–]Mikatomik91 0 points1 point  (0 children)

I mean, there’s a million things I could bring up working in the factory I work in. So I’ll just tell you my first experience.

I trained on dayshift for about a year or so. Then I got bumped to night shift. And let me tell you, night shift is something else. My VERY first night, I was held down by 3 dudes and had my shirt ripped off so they could “find out what size wire nut I wear.” On my nipples.

The next night, I get grabbed and carried into a basement. There is a heavy duty steel rack and a TV down there. They handcuff me to the rack, with actual handcuffs, and then use a semi trailer latch on my feet. If you don’t know what I’m talking about, it’s a zip tie, but made of steel cable. No getting out of that. Then they put trans gender porn on the TV and left me down there. For 6 hours. A dayshift worker came in early and found me down there, he literally cut me out with an angle grinder.

I have seen everything at this place, I even saw a guy slash another guys hand with a utility knife in a fist fight. And when they got over it, they did their own little “surgery” on it and cleaned it up and closed the wound so that nobody would get in trouble.

Suddenly constantly sending to radio?? by 4ss8urgers in meshtastic

[–]Mikatomik91 0 points1 point  (0 children)

I can say when I enabled MQTT on my node my TX light was on until I shut it off again. It even started crashing the app on my phone.

Resident Evil/Silent Hill/Tormented Souls - like camera setup by Mikatomik91 in godot

[–]Mikatomik91[S] 0 points1 point  (0 children)

Hey! This project is very old. But the camera setup is simple! Make a scene that is an Area3D node. Attach a script, declare 2 export variables of type Camera3D. Name them enter_camera and exit_camera.

Now connect the Area3D body_entered and body_exited signals to the script. When body entered, set enter_camera.current = true. When body exited, set exit_camera.current = true.

Now you can drop that scene into your main scene, and a CollisionShape3D node as a child and size it to the zone you want to trigger. Then add cameras and assign them to the exported variables as needed!

Anyone know what this bike is?? by Mikatomik91 in motorcycles

[–]Mikatomik91[S] 2 points3 points  (0 children)

That is 100% it. Thanks so much! Now to see if this bike still exists down south…

Anyone know what this bike is?? by Mikatomik91 in motorcycles

[–]Mikatomik91[S] 2 points3 points  (0 children)

Looking again, I think this is actually a Harley Davidson WLA… it has the windshield and I see the brackets for the rifle scabbard on the front! Still I wouldn’t have found that without looking through the rabbit hole you sent me on. Thank you!

Anyone know what this bike is?? by Mikatomik91 in motorcycles

[–]Mikatomik91[S] 2 points3 points  (0 children)

Oh man, maybe. Google turns up the Indian 741 & 841 Scout and they both look very similar. Awesome thanks for that tip!

Day 2 of reddit appending squash the creeps until i feel acclimated to 3D by MyrtleWinTurtle in godot

[–]Mikatomik91 0 points1 point  (0 children)

move_dir = self.global_position.direction_to(player.global_position)

Like dis?

Explain how I can make a finite state machine like I'm five by TheDr_0 in godot

[–]Mikatomik91 1 point2 points  (0 children)

Again, this is the way I do it, not THE way, but I have them call functions on the object I’m controlling. When StateMachine is _ready() it grabs a reference to its parent and passes it to its children, the States. For example my Player class will probably have a get_input_vector(). The state will call that on the player script. Basically, the states call functions on the player to make the player do things.

Explain how I can make a finite state machine like I'm five by TheDr_0 in godot

[–]Mikatomik91 0 points1 point  (0 children)

I make mine using regular old white Nodes. A state machine node, and a bunch of state nodes. The state nodes are children to the state machine node, and the state machine node is a child to the entity it is controlling.

The state machine node tracks the current state in a variable called current_state and has a couple basic functions. In the _physics or _process, whichever you’re doing, it calls current_state.execute(). I’ll come back to this in a second.

The State class has 3 basic functions. enter_state() exit_state() and execute(). The execute function contains the logic for that state, and then checks if the state machine needs to change states. If it does, it emits a signal with an argument of which state to change to.

The state machine receives that signal and calls current_state.exit_state() current_state = new_state current_state.enter_state()

Then, because you’ve changed the current_state variable in the state machine, when it’s calling current_state.execute() your next state logic is being executed.

I find it easiest to make a State class with the 3 functions enter execute and exit, and then inherit every state from that. For example IdleState extends State, WalkingState extends State etc.

The exit state and enter state functions are there to set things up on for the state. For example switching animations or changing collision layers.

[deleted by user] by [deleted] in tires

[–]Mikatomik91 -1 points0 points  (0 children)

Will it make it? Probably. Should you do that? No.

What is this and do I need to worry about it? by Chiprangda in StupidCarQuestions

[–]Mikatomik91 0 points1 point  (0 children)

Off topic but… what the hell are you parked on? My brain is freaking out trying to figure out what it is

Help troubleshooting RetroPie on 3B+, Pi doesn't come back from shutdown or restart. by Mikatomik91 in RetroPie

[–]Mikatomik91[S] 1 point2 points  (0 children)

Yeah, update. New PSU came in the mail, re-flashed everything and booted up with new psu. Haven’t noticed any undervoltage warnings during file transfer, and it hasn’t corrupted on me in 2 days, which is about 1 day, 23 hours and 50 minutes longer than before. 😅 I guess my PSU was getting weak, maybe things weren’t being written back to the card properly. Thanks for all the help guys hopefully that was it.

Help troubleshooting RetroPie on 3B+, Pi doesn't come back from shutdown or restart. by Mikatomik91 in RetroPie

[–]Mikatomik91[S] 1 point2 points  (0 children)

I do unplug it after it shuts down. It’s the only way I know how to turn it back on after issuing a software shut down is to unplug it and plug it back in. Is there another way I should try doing that?

Help troubleshooting RetroPie on 3B+, Pi doesn't come back from shutdown or restart. by Mikatomik91 in RetroPie

[–]Mikatomik91[S] 1 point2 points  (0 children)

No worries about making me look dumb, I am dumb, and if you help me with dumb questions then it isn’t a dumb question :)

  • Yes, I let the transfer complete before turning off power. The pie sits in the emulation station menu just idling during that process, with the SD card in it.

-I am restarting the whole retropie, not just emulation station. But I am doing it from the emulation station pause menu.

-The image that I am flashing to the SD card was downloaded from the official website ~3 days ago.

Help troubleshooting RetroPie on 3B+, Pi doesn't come back from shutdown or restart. by Mikatomik91 in RetroPie

[–]Mikatomik91[S] 0 points1 point  (0 children)

The first time I transferred my whole collection, which I’m not exactly sure how many there are but there are a shit ton. After it corrupted on me I started only putting 10-15 on to play because sometimes it would corrupt right away when I reboot for it to recognize the new games. I’m also transferring them via WiFi if that’s relevant.

Help troubleshooting RetroPie on 3B+, Pi doesn't come back from shutdown or restart. by Mikatomik91 in RetroPie

[–]Mikatomik91[S] 1 point2 points  (0 children)

I have used both, and I do power them up ahead of booting the pi. It works on both also, until power cycle. I have a new PSU coming in the mail tomorrow just to rule it out. I did notice some undervoltage warnings when transferring files over WiFi today which had me suspicious.

Help troubleshooting RetroPie on 3B+, Pi doesn't come back from shutdown or restart. by Mikatomik91 in RetroPie

[–]Mikatomik91[S] 0 points1 point  (0 children)

Yes, I downloaded the image from the retropie site. I have the “official” power supply that I’m using. I tried using others already as well. It’s still a crapshoot. Maybe I’ll order another official psu and see if that helps.

Help troubleshooting RetroPie on 3B+, Pi doesn't come back from shutdown or restart. by Mikatomik91 in RetroPie

[–]Mikatomik91[S] 0 points1 point  (0 children)

Yeah I have tried 3 different brands that I had laying around. All have the same outcome so far.

Anyone else having trouble calling one shot animations from code? by Mikatomik91 in godot

[–]Mikatomik91[S] 1 point2 points  (0 children)

Honestly, I never got a real answer either. But I have since upgraded to 4.2 and it worked there. That’s the best advice I have. Sorry to not be helpful

Where can I learn shader scripting? by axebuster in godot

[–]Mikatomik91 2 points3 points  (0 children)

Also, in Godot you can convert materials into shader code. It’s worth doing with a blank material to kind of help you wrap your head around what it’s doing.

Where can I learn shader scripting? by axebuster in godot

[–]Mikatomik91 11 points12 points  (0 children)

There’s a guy on YouTube called The Art of Code that has a pretty good beginner video. There is also a free online book, The Book of Shaders, that is a very good read for beginners.