r/Unity3D – Telegram
r/Unity3D
260 subscribers
12.6K photos
15.5K videos
14 files
47.8K links
News about the Unity engine and project showcases from Reddit. Made possible with @reddit2telegram (@r_channels).
Download Telegram
Inconsistent OnTriggerEnter2D results

Hey hey, I've been making a 2D side-scrolling game in which I have "custom physics", each entity has velocity which is updated via code. I'm doing it because I want to achieve "non-realistic" physics like a constant jump height no matter the impact velocity.
The only thing that isn't consistent, is the OnTriggerEnter2D reactions. Let's say an enemy bounces of the ground, it could bounce in a margin error of about 1 (0.5 up or down, which is pretty big IMO). Does anyone know a good way to get a more consistent outcome?

https://redd.it/1hhoqfo
@r_Unity3D
Lighting Issue

I'm using the URP to work with my Normal Maps for my game project. Lighting is meant to play a bit of a part in how some of the enemies function, but the lighting itself is acting... well, the picture should say it all.

https://preview.redd.it/ot1tmlzhur7e1.png?width=249&format=png&auto=webp&s=e386596feb9342afef3821db7c7ae9fcd4cbce65

When it's set to interact with the normal maps, the Light itself is always behind the midpoint of the light object. The Spot is just to showcase the issue, and I've verified that the green channels are correct as best that I can (the person who made the Normal Maps has experience with making them). What am I doing wrong that's causing this oddity? Flipping the green channel just flips with half gets the odd lighting along the X axis.


https://redd.it/1hhp2e9
@r_Unity3D
Discord containment thread

We are a week away from Christmas.

The professional thing would be to waltz out some cooperate sounding apology speak addressing the current situation. But remember us mods are rarely ever that smart. As for the mods over on discord, we couldn't tell you a single thing about them. Because how could we? We're not affiliated with them. We just link there because this is the Unity place and that's what you do when you're the Unity place..

That being said, we believe that any wrongdoing or oversight on the behalf of Unity Technologies should be called out, but what we're NOT going to do is have r/Unity3D become the complaint forums for every last person's interaction with one alleged asshole, especially when there is no actionable path forward apart from making the drama as loud as possible, which might be better served some place like Twitter or Bluesky or some other official channel. Because in case some of you forgot, r/Unity3D and Unity Technologies, haven't exactly been the closest friends after the whole Runtime Fee scenario... remember that?

Please keep that in mind.

Because specifically, in just the past 12 hours following the initial post by one user u/Halfspacer, things have gotten really disorganized, really fast.

To any users who have had your thread's locked or removed, do understand that the initial complaint was levied at a specific discord Moderator, and not literally every negative interaction you've ever had with a Unity employee during the past 5+ years. That is unproductive, unhelpful, distracting from the initial post(s) and is a huge waste of yours and everyone else's time.

So here's a containment thread... enjoy.

https://www.youtube.com/watch?v=cK7RCMFkT78

https://redd.it/1hhm87e
@r_Unity3D
Just got muted for introducing myself and saying I learned about the Discord from the Fogsight power trip drama
https://redd.it/1hhow0r
@r_Unity3D
This media is not supported in your browser
VIEW IN TELEGRAM
Guess eBay lot prices in our game - now with a Christmas update! Finding holiday-themed items through the eBay API in Unity was tough, but it's ready to play for free, solo or with friends online!
https://redd.it/1hhsjnl
@r_Unity3D
Is there a tutorial for pinball in the 2D engine?

Im wanting to make a Balatro and Buckshot Roulette pinball game and I cannot find any pinball tutorial online that uses the 2D engine. I am just a beginner that is just now learning Unity though.


https://redd.it/1hhvrjv
@r_Unity3D
This media is not supported in your browser
VIEW IN TELEGRAM
Simple stylized shader, 3 colors on view space or object space, outlines, pbr

https://redd.it/1hhueud
@r_Unity3D
We had 84% review score on the release, but since than we already had 4 major updates and our last 30 days review score is now 95% :)
https://redd.it/1hhx2vw
@r_Unity3D
Media is too big
VIEW IN TELEGRAM
Made a video no how to create a simple Interactive Particles effect with VFX Graph and wanted to share here too.

https://redd.it/1hhxo3i
@r_Unity3D
This media is not supported in your browser
VIEW IN TELEGRAM
Progress with my physics simulation game: 2D printing matter, ropes, lasers

https://redd.it/1hi0omq
@r_Unity3D
🔥1
How do you guys handle components that require references to scene stuff?

So i have rn a worldSpaceCanvas and i have a noscript that makes damage numbers instantiate on the world space canvas when a entity with that component takes damage

it basically suscribes to onDamageTaken if the object has Damageable and that outputs a damageEvent object that has data inside like damageDealt, the problem is that i have to do a find all objects of type to get all the canvas con the scene and get the one that is world space

is there any way to handle this situation better?

https://redd.it/1hi3vxa
@r_Unity3D
How can I achieve this kind of visual style?
https://redd.it/1hi3xfh
@r_Unity3D
This media is not supported in your browser
VIEW IN TELEGRAM
The (very reluctant) gas station employee... how does the ui look?
https://redd.it/1hibq3y
@r_Unity3D
Sprite rendere rendering white, despite being set to another color

https://preview.redd.it/3tim7tw55z7e1.png?width=1159&format=png&auto=webp&s=0287e63af14ab071897ec38c5510e85b86c29d07

In the scene the sprite is white. In the inspector the color property preview also appears white. But when you click on it, the color window popup clearly shows it's set to brown.

In my noscript the color is defined as: color = new Color32(76, 51, 18,1)

and gets set here:

SpriteRenderer spriteRenderer = GetComponent<SpriteRenderer>();
spriteRenderer.color = tileData.color;


But engine template colors like: Color.green work fine. So i don't think the way im setting the color is the issue.

https://redd.it/1higf57
@r_Unity3D
This media is not supported in your browser
VIEW IN TELEGRAM
I've been working on this lately.. inspired by overthrown movement

https://redd.it/1higm6c
@r_Unity3D
UI Text Scales Incorrectly when switching from 640x480 to 1280x960

Hello. There's a problem with the UI, as the UI is fine at the resolution 640x480

640x480 textbox

However, at 1280x960 the text becomes much narrower, after it scales up to match the new resolution. Something about Canvas scaling seems to be wrong, not sure what.

1280x960 textbox. The text appears very narrow.

I tried a lot of settings, while keeping the canvas in such a way that the text isn't blurry, but can't find any solutions. Any help is much appreciated.


https://redd.it/1hihq0c
@r_Unity3D
Media is too big
VIEW IN TELEGRAM
I made a new gameplay trailer for my top-down post apocalyptic survival game

https://redd.it/1hiizht
@r_Unity3D