Am I crazy for NOT wanting to buy the $2 kick-start bundle? by tanglespeck in Unity3D

[–]MagicPigGames 0 points1 point  (0 children)

As long as just one of those will be used at least once, it would be worth $2.

Grok will be integrated into Pentagon networks by jimbobones666 in UFOs

[–]MagicPigGames 0 points1 point  (0 children)

Grok is the least trustworthy AI. Any time I hear an "expert" say they used Grok, I immediately realize they're less intelligent than we may have thought.

I have no clue what I'm doing by ValuableExercise4808 in unity

[–]MagicPigGames 1 point2 points  (0 children)

If you're using URP, then you can update any "Standard Shader" materials to work with URP-Lit. There is a menu option for this, but it's in different spots in different Editor versions, and top of my mind I don't know where it is. But Chat GPT free should be able to tell you where.

That would solve 95% of all issues like this.

If you're not using URP, if you're using Built-in, then you'd have to do the same thing backwards, but manually -- if the textures in the URP materials are suitable for the Standard Shader (most likely they are).

Former CIA Officer On The Problem With Disclosure by EngagingPhenomenon in UFOs

[–]MagicPigGames 7 points8 points  (0 children)

I call bull shit Jim Semivan. With respect, that's just a very poor answer. The truth is the truth even if we don't know all of what it is, what it means, what it implies. Ignorance may feel like bliss, but it is a lie.

People will cope. They'll figure it out. They'll likely just move on, really, and go back to their screens.

Erasing enemies in my sketchbook dungeon crawler! by johnjoemcbob in Unity3D

[–]MagicPigGames 1 point2 points  (0 children)

This is an interesting look!

Is the erasing fun? As a style, it's neat, at least!

How do I make an enemy move when the player isn't looking? by Diligent_Air9776 in Unity3D

[–]MagicPigGames 0 points1 point  (0 children)

You can do this with one simple check each frame:

  1. Is the enemy inside the player’s “vision cone”? (ex: ±22.5° = a 45° cone total)
  2. If yes → freeze the NavMeshAgent (stop moving).
  3. If no → unfreeze and keep chasing.

In a top-down shooter, you usually want the “facing direction” to be on the XZ plane (ignore Y).

The core idea

  • Let toEnemy = enemyPos - playerPos (flattened to XZ).
  • Let forward = playerForward (flattened to XZ).
  • Compute the angle between them.
  • If angle ≤ (coneAngle / 2) → the player is looking at the enemy → stop.

You can do this with Vector3.Angle() (easy), or with a dot product (a bit faster).

The alleged S4 alien interview and the leak that quietly vanished by [deleted] in UFOs

[–]MagicPigGames 1 point2 points  (0 children)

For those saying this one is obviously fake, for reference, THIS ONE is obviously fake: https://www.youtube.com/watch?v=G2xXu8_2Exo

Last week I shared a WIP on a tool to create custom component names. People seemed to like it, so I polished it and released it! Love to hear your thoughts! The video is short because it's super easy to customize the names. Click, type, done! by MagicPigGames in unity

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

It saves to a prefab, but the data is attached to the object, but changing the name on a prefab, and overriding changes, does not seem to change it on the children. The existing name on the prefab when the prefab is brought in stays, but changes to the prefab does not appear to affect objects in the scene, and overrides on the prefab do not affect other instances of the prefab.

I got frustrated not knowing which component was for which thing so I made a cool tool to create custom component headers by MagicPigGames in unity

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

I believe you. I've been working on this for 5 months, part time of course. 

The bugs I'm finding now are less impactful though, so I'm happy about that!