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
Changing velocity of Rigidbody2D via a coroutine failed to move player along the X-axis in two seperate instances. (Platformer)

I'm a college student who recently attempted to make a game project for an assignment, which was a 2D platformer game. The game had two systems in-place to change the player velocity (not with adding force, but with directly setting velocity and freezing the player movement), which was wall jumping and knockback. Both functions worked similarly, performed well in prototyping, but as I further developed my game, both ended up completely breaking. Despite debugging code and finding absolutely nothing wrong with the code, both functions could only move the player upwards, instead of to the upper right or upper left as they were intended to do. The player's input was frozen, the velocity had already been reset to 0 in an attempt to fix the bug, and no other functions affected the velocity of the player as the walljump and knockback functions ran. Print statements came out fine when I checked if the player velocity was being set, the functions worked, but for some unknown reason the player just could not be moved on the x axis in both situations.
I couldn't remember why the knockback function failed to work; and when the walljumping broke, it was likely after i had changed how wall collisions/player collisions worked (walls used a composite collided which had to be modified as to not render jagged polygons/cause player to get stuck or slide upwards on walls, but eventually the collisions were smoothed out and the wall sliding was fixed).

These problems were unable to be solved by the time the project was due, but I would like to get to the bottom of what could have caused it in order to make sure it doesn't happen again to future projects.

https://redd.it/1hl7cso
@r_Unity3D
This media is not supported in your browser
VIEW IN TELEGRAM
Optimized my custom gravity system so it can handle 2 million gravity objects easily (on pretty old gtx1650). Made with GPU Compute shaders + GPU indirect instancing


https://redd.it/1hlb4tc
@r_Unity3D
This media is not supported in your browser
VIEW IN TELEGRAM
I made a FREE Super Input Prompt Icon Pack with over 1100+ for PC and Consoles [Link in comments]

https://redd.it/1hlby6q
@r_Unity3D
How to create(draw) animatable 2D vehicle?

How to create(draw) animatable 2D vehicle? Like i want to create an artillery how should i draw it? Thank you for help already :)

https://redd.it/1hle1bc
@r_Unity3D
Camera.Main returning null

https://preview.redd.it/bs8n67gtnt8e1.png?width=1148&format=png&auto=webp&s=19927c87d126bc809451e9c05923ce697d146618

https://preview.redd.it/jzsw6e1wnt8e1.png?width=790&format=png&auto=webp&s=a1aafe6a3795579c819be29e25575f3b62837c96

So I'm trying to reference camera.main, but I can't figure out why it's not working. I'm kind of a newbie, and no matter what information online they all say to just make sure that the main camera has the MainCamera tag, but it definetly does, so I have no idea why it's not working.

https://redd.it/1hlgvbu
@r_Unity3D
I’ve just updated my guns asset pack with fresh and improved textures. It’s entirely free to download, and you can use it in your games without restrictions under the CC0 license. If this sounds interesting, here’s the link: https://styloo.itch.io/guns-asset-pack

https://redd.it/1hlgskg
@r_Unity3D
This media is not supported in your browser
VIEW IN TELEGRAM
We’re making a horror game about a lighthouse… but then Santa knocked on our door.

https://redd.it/1hlj34h
@r_Unity3D
Psychoactive, psychotropic Sounds, looking for advice on game platforms?

I've been developing a unique type of sound experience since 2007. I already have a decent customer base globally but its not in the gaming domain. I have a number of friends who are gamers and they keep telling me the sounds I make would be perfect as audio assets for game developers especially since my sounds can install moods, states that the developers already want in their players. Some of my friends have said this would be also suitable for beat based games. What I would love feedback on is how do I do this, how do I introduce a novel concept to developers that powers up what they already want from their audio asset but is so different and alien than anything they have experienced before? I have tried looking at a few asset platforms on line to see whether they would be suitable to show case my work but havent come across anything that seems like a good fit yet. Any suggestions on the better platforms out there that I could introduce this to game developers? Are there any asset distribution platforms I should look at? How do I reach the developers and describe what I do to them and how do I get my audio tech into their hands? Thanks for any advice, feedback! Cheers.

https://redd.it/1hllkn9
@r_Unity3D
Freelancing as a unity game developer

Hi , I'm currently learning unity, I'm thinking about start working as a freelancer online, I want to know more about how unity freelancers work, what kind of projects do their clients give, and is it competitive of no?

https://redd.it/1hllhva
@r_Unity3D
This media is not supported in your browser
VIEW IN TELEGRAM
No light (baked or realtime), custom decals for lighting, enhanced night test

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