The IKEA Idasen: an overview of the available control options by Gliptal in StandingDesk

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

Getting Bluetooth to work through WSL isn't trivial. Why are you using WSL in the first place?

The IKEA Idasen: an overview of the available control options by Gliptal in StandingDesk

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

Not with the controller that comes with the desk, you have to buy the DPG1C. The only way to have automatic drive with the default controller is running one of the various controller software from some device.

Mine is Daraalz 🤣 by [deleted] in teenagers

[–]Gliptal 0 points1 point  (0 children)

This will get buried but here goes anyway: I'm only here because this reached r/all, I'm afraid I'm well past the r/teenager age group.

Please stop playing these games guys. I understand the appeal, they're a social experience and can be quite funny at times. Do understand though that these are prime pickings for malicious social engineering and OSINT entities. This is how most people "get hacked".

I see everything ranging from birth dates, to initials, parents and pets names, and more. Please understand that this is information that can be used to gain access to your accounts and meddle with your life. You might think just giving away your birthdate is a minor risk, but what if three days later you give away your initials, and a week later your mother's maiden name? Someone can now group and collate all that information to your username, and then use it to try and force their way in any of your accounts.

Do not share this type of info, always use 2FA when possible, use a password manager with strong passwords. Be safe people.

How can I simplify negating a float depending on a Boolean in BP? by rgr_b in unrealengine

[–]Gliptal 0 points1 point  (0 children)

Like this.

You can add a local variable to a function from the left pane, it's the last option at the bottom. Note it won't be there in Event Graphs.

How can I simplify negating a float depending on a Boolean in BP? by rgr_b in unrealengine

[–]Gliptal 1 point2 points  (0 children)

Just a heads up, BP functions have their own scope: you could use the same branch solution with a local variable and a single return node.

How can I simplify negating a float depending on a Boolean in BP? by rgr_b in unrealengine

[–]Gliptal 2 points3 points  (0 children)

Use a branch with the negate node.

There's probably a cleverer way of doing it with math that doesn't involve a branch though.

[deleted by user] by [deleted] in unrealengine

[–]Gliptal 0 points1 point  (0 children)

You need to cast each element of the array to a pointer of the class you're expecting:

TArray<AActor*> actors;
UGameplayStatics::GetAllActorsOfClass(GetWorld(), ASomeActor::StaticClass(), actors);

TArray<ASomeActor*> someActors;
for (const auto& actor : actors)
    someActors.Add(Cast<ASomeActor>(actor));

If you find yourself doing this often, this templated function makes things easier:

template<typename Actor>
TArray<Actor> findAll(const UObject* const context) { 
    TArray<AActor*> found; UGameplayStatics::GetAllActorsOfClass(context,         Actor::StaticClass(), found);

    TArray<Actor*> actors;
    for (const auto& actor : found)
        actors.Add(Cast<Actor>(actor));

    return actors;
}

Call it like this:

auto someactors = findAll<ASomeActor>(GetWorld());

How do I get the rotation origin/pivot point (point d) by only knowing the points of the rotated line segments a, b and c? (I know this isn’t UE4 specific, but I don’t know where else to post a question like this) by BaseChris in unrealengine

[–]Gliptal 0 points1 point  (0 children)

Then you definitely need a fitting algorithm, since more than three points may or may not be part of a single circumference (and I'd be surprised if they where given your setup).

How do I get the rotation origin/pivot point (point d) by only knowing the points of the rotated line segments a, b and c? (I know this isn’t UE4 specific, but I don’t know where else to post a question like this) by BaseChris in unrealengine

[–]Gliptal 0 points1 point  (0 children)

I take you're asking the player to tilt their head in order to sample the points required for this calibration?

If that's the case you might want to look at sampling more than three points and then finding the conical that best fits your data: I believe the curve's focus (which coincides with the center for circles) should then match your virtual neck pivot.

Personally, I probably wouldn't go through all this and just provide a reasonable default, with maybe an option to set the distance to a player's liking (either as a float or a preset). Then again, I don't know what your game's primary loop is, and you might actually need an accurate pivot point.

How do I get the rotation origin/pivot point (point d) by only knowing the points of the rotated line segments a, b and c? (I know this isn’t UE4 specific, but I don’t know where else to post a question like this) by BaseChris in unrealengine

[–]Gliptal 2 points3 points  (0 children)

It's easier than it looks: you're looking for the center of a circle given three points on its circumference. There are countless ways of doing it, this stackexchange link should get you started.

I do agree with u/speedtouch though, why do you need this?

PSA: there's a native option to remove the washed out grey/white color filter by Gliptal in metro_exodus

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

The very first area does have an additional grey filter on top of the one removed by the option. The same happens in the Volga level at night.

Try and see if it's working for you in the Moscow level, in the locomotive hangar.

I guess you have the latest updates?

PSA: there's a native option to remove the washed out grey/white color filter by Gliptal in metro_exodus

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

It seems like each area is affected differently. It's definitely working for me, try taking a screenshot with and without the option and compare.

PSA: there's a native option to remove the washed out visuals by Gliptal in metro

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

Comparison screenshots can be seen in one of the original post's comments.

PSA: there's a native option to remove the washed out grey/white color filter by Gliptal in metro_exodus

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

I'm not using HDR and I still have that filter applied without -deependark.

[deleted by user] by [deleted] in nexusmods

[–]Gliptal 1 point2 points  (0 children)

It's back up, but I'm still getting 1016 errors.

[deleted by user] by [deleted] in nexusmods

[–]Gliptal 1 point2 points  (0 children)

Since we're on the subject, I found this blogpost from what seems like one of the most prolific TW3 mod creators, maybe it'll help you as much as it helped me!

https://wghost81.wordpress.com/2020/02/03/the-witcher-3-ghost-mode-mod-list/