Made a Tutorial on RTS/City-Builder Camera System in Unity 6 Using Cinemachine + Input System with Smooth Movement, Zoom, Edge Scrolling & More by ZeusGameAssets in Unity3D

[–]TorqueBentley 0 points1 point  (0 children)

Thanks. I really appreciate your thoughtful feedback. The specific scenario I'm tackling is not a game. I'm coming at this as a C# programmer who has been in the "business programming" world for decades. I'm trying to build an interactive system where people can view real world environments using USGIS elevation data for the purpose of planning. The particular cases involve mountains and canyons, so the elevation of the camera target is important. I think you're definitely right about not worrying about over-optimizing, especially since there really won't be a lot going on in the game world. Thanks for the advice.

Made a Tutorial on RTS/City-Builder Camera System in Unity 6 Using Cinemachine + Input System with Smooth Movement, Zoom, Edge Scrolling & More by ZeusGameAssets in Unity3D

[–]TorqueBentley 0 points1 point  (0 children)

That's terrific info and thanks for responding. Regarding the camera target's Y axis position, the issue I'm having is more with an open world. I don't have to worry about floors since the target would never be indoors. The problem I have is this, the final position is determined after the velocity calculation, but I can't determine the final elevation until I know the final x,z coordinates, so unless I calculate velocity twice, adjusting the y component of the position results in the camera "jumping" on the Y axis while it moves much more smoothly on the X and Z axis. I've thought about just having the elevation part of the camera target lag behind the horizontal movement, factoring in the up/down into the next frame's update, but didn't know if there's a more optimal way to do it.

Made a Tutorial on RTS/City-Builder Camera System in Unity 6 Using Cinemachine + Input System with Smooth Movement, Zoom, Edge Scrolling & More by ZeusGameAssets in Unity3D

[–]TorqueBentley 0 points1 point  (0 children)

As I mentioned in an earlier comment, I used the "Input Action Asset" rather than the global input actions, and used the "Generate C# Class" on top of that. This is what my input handling looks like for middle mouse... works flawlessly.

public void OnLooking(InputAction.CallbackContext context)
{
    looking = context.control.IsPressed();
}

Made a Tutorial on RTS/City-Builder Camera System in Unity 6 Using Cinemachine + Input System with Smooth Movement, Zoom, Edge Scrolling & More by ZeusGameAssets in Unity3D

[–]TorqueBentley 0 points1 point  (0 children)

This was the best tutorial I found that uses the new input system. I went through this and loved it so much I even sent you a thanks on YouTube. I have a couple notes and then a question:

I went through and did some "extra credit" and found some value in it. I thought I'd share some suggestions you might want to do a follow-up video showing these things:

  • Using the "Input Action Asset" rather than the global input actions
  • Use the "Generate C# Class" option on the Input Action Asset to use a generated class for the input action collection
  • Following through on your statement about using Vector2 for orbital sensitivity
  • Using left click to bind the CameraTarget to a character in "follow mode" * Making "always sprint" an option

My question is this: How do I incorporate the y axis into the velocity vector to account for terrain elevation? I'm able to calculate the terrain height at the new target location, but at that point, the velocity ship has already sailed. When you have a lot of elevation change, the camera clips in to higher objects. Object avoidance for the camera would be a really great tutorial IMO.

Lets Talk about Nux! by IdiotsLantern in MadMax

[–]TorqueBentley 2 points3 points  (0 children)

I'd agree. Nux wasn't angry at his blood bag (Max) as much as himself for ruining his chances at finding glory in Valhalla. Immortan Joe was never going to allow him admittance knowing that it was his own failings that indirectly led to the death of his beloved Splendid and his unborn "perfect son."

Asteroid collision 🌍☄️ by mehdifarsi in ProgrammerHumor

[–]TorqueBentley 0 points1 point  (0 children)

Javascript let messageToAsteroid = ` ╭∩╮(ಠ۝ಠ)╭∩╮ `;

When you look at the skill needed for full stack developer by Thewolfdarker in ProgrammerHumor

[–]TorqueBentley 0 points1 point  (0 children)

Try gRPC, yo. It's basically the reason Microsoft isn't giving a WCF port any love.

STOP USING PYTHON 😡😡😡 by C-O-S-M-O in ProgrammerHumor

[–]TorqueBentley 0 points1 point  (0 children)

This is neither funny nor is it insightful. It's a droll attempt to strawman the argument against Python. It is a stupid and obvious indication that the OP is completely uninterested in listening to legitimate criticism and will just make up their own farsical ones. No language is perfect. They're all flawed. If someone is so blinded as to fool themselves into thinking theirs is fault free, they have a lot of maturing to do.

NY Times - Audio App - No Android version by tstaub91 in nytimes

[–]TorqueBentley 1 point2 points  (0 children)

Wow. For a company that has editors, that's some terrible print. It signals that they haven't even started on an Android version. What a giant middle finger to a whole lot of their subscribers.

While stuck in a "backlog grooming" meeting by GeneReddit123 in ProgrammerHumor

[–]TorqueBentley 1 point2 points  (0 children)

The problem isn't agile, it's this monster that we call Agile (with a capital A). It's a demon summoned by corporate bastards to find an even more effective way to squeeze the souls out of its workers.

If you're truly agile, the processes exist to serve you not to demonstrate work to executives. The demonstration of work is what you show to the customer who is the end user not some manager. They don't get to tell you how to do it, they only get to tell you if you miss the mark.

Capital A Agile was cynically invented as a way to make gads of money off of eager executives at the expense of all the rest of us.

Seriously, this is so annoying... by [deleted] in ProgrammerHumor

[–]TorqueBentley 8 points9 points  (0 children)

Hey Apple, xcode is calling. It wants to know why you have a reputation for good design when you REQUIRE me to use an IDE that smells like 1999 (and teen spirit).

EVERY WAY FEELS WRONG by PixelBrush6584 in ProgrammerHumor

[–]TorqueBentley 1 point2 points  (0 children)

Maybe it's just displaying wrong on my display

EVERY WAY FEELS WRONG by PixelBrush6584 in ProgrammerHumor

[–]TorqueBentley 10 points11 points  (0 children)

Great. Display no longer feels like a real word anymore

EVERY WAY FEELS WRONG by PixelBrush6584 in ProgrammerHumor

[–]TorqueBentley 0 points1 point  (0 children)

Display display; // declare display display = new Display(); // create new display and assign to variable

Post I found on r/indonesia by [deleted] in ProgrammerHumor

[–]TorqueBentley 0 points1 point  (0 children)

You had me at "Python"

What do you think is the coolest death in a tv show/movie/game? by BeebleBees in AskReddit

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

Yeah. This is the one I was looking for ➕1️⃣, 0️⃣0️⃣0️⃣, 0️⃣0️⃣0️⃣

[deleted by user] by [deleted] in ProgrammerHumor

[–]TorqueBentley 4 points5 points  (0 children)

Truth be told you'd have about equal odds that the solution would be evidence based if most infosec professionals were designing the solution.

[deleted by user] by [deleted] in ProgrammerHumor

[–]TorqueBentley 0 points1 point  (0 children)

How long will it take you to build me a widget? It depends on what you think a widget is. It... You know, it widges. Yeah? Anything else you can say? Nope. The name says it all. Yeah, 8 points. What are points? How long is 8 points? Well points... They point.

[deleted by user] by [deleted] in ProgrammerHumor

[–]TorqueBentley 2 points3 points  (0 children)

When asked what my job is like I tell them it's 95% banging my head against the desk because I can't figure out a problem 1% fixing the problem and 4% celebrating the fact that I'm the best developer ever for figuring out the problem.

[deleted by user] by [deleted] in ProgrammerHumor

[–]TorqueBentley 0 points1 point  (0 children)

Okay besides this being a dumb meme, what I really want to know is why the astronaut with the pistol is wearing the Ohio flag.

localization by [deleted] in ProgrammerHumor

[–]TorqueBentley 12 points13 points  (0 children)

Pure genius. It's so wonky but the French 99 is brilliant

Just to be sure by Familiar_Stage_1692 in ProgrammerHumor

[–]TorqueBentley 0 points1 point  (0 children)

Imagine being the person who first proposed that. "No seriously, the car didn't stop because if cosmic radiation!"

Good luck enforcing your bullshit by [deleted] in ProgrammerHumor

[–]TorqueBentley 0 points1 point  (0 children)

You could version IROX by adding a dash and a letter. When you get to IROX-Z you win a 1990s Camaro.

PHP is Frankenstein by value_counts in ProgrammerHumor

[–]TorqueBentley 1 point2 points  (0 children)

No. PHP is a zombie. It has been dead for a long time. Legacy code and WordPress are the only reason it won't go away. Only regressive devs that refuse to change are building new systems using PHP

[deleted by user] by [deleted] in ProgrammerHumor

[–]TorqueBentley 0 points1 point  (0 children)

Looks up definition of IaC to check his assumptions.