r/Unity3D – Telegram
r/Unity3D
258 subscribers
12.6K photos
15.5K videos
14 files
47.9K links
News about the Unity engine and project showcases from Reddit. Made possible with @reddit2telegram (@r_channels).
Download Telegram
Wall Jumping - Climbing up wall

Hi! I was looking into how to implement wall jumping into my game, and after looking through a couple of videos, I noticed most people use this noscript:
https://gist.github.com/bendux/b6d7745ad66b3d48ef197a9d261dc8f6

However, after implementing it, the player can just climb up the wall if they spam the space bar. I didn't want that because it would kind of go against why I'm implementing wall jumping, and I've tried modifying the code, but nothing seems to change it, and when it does change, it messes up the jumping mechanic.

If someone could guide me through how to prevent players from simply climbing up the wall instead of jumping between walls, I'd appreciate that!

https://redd.it/1kfwwpf
@r_Unity3D
Relative Velocity not working, returns (0,0) when it hits the ground, how do I work around this?

When the enemy collides with the wall it's velocity will be (0,0) and the wall's velocity is obviously (0,0). But in most cases the "Relative Velocity" gives me a value that represents the velocity at which the enemy hits the wall object. Thus, I'm able to use that information to calculate the trajectory of the enemy after it hits the wall

However, this doesn't work every case. There's some random cases where the relative velocity will just be (0, 0). Thus the calculated velocity after hitting the bounce is 0 which is a big no no. But then again I have no Idea how to fix this because as far as I know there aren't any other factors that can help me calculate the velocity after collision since the enemy's velocity is (0,0) and the wall's velocity is (0,0). Is there a way I could work around this issue?

https://pastebin.com/r2Y0n6rB

https://redd.it/1kfxhin
@r_Unity3D
advice needed

https://i.redd.it/eiogukexk3ze1.gif

i was playing with unity's shader graph. i got a good preview for what i want but in my scene and game view it is not being replicated. i tried reimport, deleting and rebuilding the objects but nothing worked.

links to the shader files

https://redd.it/1kfwy7i
@r_Unity3D
We're thrilled to be part of Indie Assemble, a Steam event celebrating over 1000 indie games! You can discover hundreds of a amazing indie jems. From May 5th to May 11th, you can check out two of our adventure noscripts: Whirlight – No Time To Trip and Willy Morgan and the Curse of Bone Town.

https://redd.it/1kfywy6
@r_Unity3D
[EARLY ACCESS] After countless hours of work, Space Defenders is out in Early Access on Steam!
https://redd.it/1kfzh3t
@r_Unity3D
I don't understand why Color.Lerp() isn't working?

I have a noscript set up so that my wall changes it's colors between two points depending on how much health it has left. I want to do this by using the lerp method which supposedly lerps between two colors (a & b) by t ( 0.0 to 1.0 ).

However, as is it only works the first time the wall gets hit and never updates afterwards. Is there a reason why this is not working the way I assume it's supposed to?


https://pastebin.com/zva43rj8

https://redd.it/1kg2apk
@r_Unity3D
Images I add into my panels looks like they are behind something. How can I fix this?
https://redd.it/1kg555d
@r_Unity3D
(EMERGENCY) UVC "revert changes" and "switch workplace to this changeset" not working!

Something messed up pretty badly and somehow the main game scene got completely wiped when I updated my workspace from a coworker's today. I'm trying to revert to the changeset I made yesterday right before I logged off yet I get two errors no matter which option I choose:

when clicking "revert changes": "The item d:\\UnityStuff\\GameProject\\Assets\\Scripts\\L.cs does not exist in the workspace." I do not have any noscript called "L.cs", neither in the current or previous workspace

when clicking "switch workplace to this changeset": "Cannot perform the switch to branch/label/changeset/shelve since there are pending changes. Please review the pending changes and retry the operation again.", I go to "pending changes" and I cannot get all of them removed without making an entirely new post, despite the fact I didn't make any such changes

How do I get Unity to do as it's told and just revert the changes? I would just use GitHub but the last upload there is very old (few weeks). Yeah it was stupid for me not to have updated it in a while but I thought UVC had me covered. So am I done for?

https://redd.it/1kg6riz
@r_Unity3D
This media is not supported in your browser
VIEW IN TELEGRAM
I'm working on a full version of my math based puzzle game. How can I visually improve the door unlocking mechanic?
https://redd.it/1kg8pbn
@r_Unity3D
This media is not supported in your browser
VIEW IN TELEGRAM
I’m obsessed with Zen gardens lately… so I turned that obsession into a cozy sim game

https://redd.it/1kg6u5v
@r_Unity3D
1
This media is not supported in your browser
VIEW IN TELEGRAM
I just love speedrunning the levels in my game. Can't wait to put in leaderboards to compete with everyone else.

https://redd.it/1kg4v6k
@r_Unity3D
I Built a Unity CI/CD Pipeline So You Don’t Have To :D (Feedback is welcome!)

Hey r/Unity3D !

I wanted to share my Unity CI/CD pipeline built with GitHub Actions. It’s designed to handle:

* Automated EditMode & PlayMode tests
* Multi-platform builds (WebGL, iOS, Android, macOS, Windows, Linux)
* GitHub Releases + versioning
* Deployments (gh-pages, [itch.io](http://itch.io), Firebase, S3, Steam, TestFlight)
* Discord/Slack notifications for status updates

I’m calling this **v1**, but to be fair: This needs quite a bit more polishment/optimization... I am by no means an expert yaml/Github Actions writer, and I had my fair share of AI to help with a lot of it. But none-the-less t’s working and modular, but there’s lots of room for optimization, performance improvements, simplifying config, better docs, etc. :3

I’d love for others to try it out, break it, suggest improvements, or even just give feedback. It’s open source and meant to be useful for solo devs, small teams, or anyone curious about integrating Unity with modern CI/CD pipelines.

# 🌐 Live WebGL Demo

➡️ [Play it here](https://avalin.github.io/Unity-CI-Templates/)

# 📦 GitHub Repository

🔗 [GitHub Project](https://github.com/Avalin/Unity-CI-Templates)

If you’ve been looking for a starter pipeline or want to see what’s possible with Unity + GitHub Actions, I’d be happy if you check it out.

Any thoughts or suggestions welcome!

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