r/Unity3D – Telegram
r/Unity3D
265 subscribers
12.7K photos
15.6K videos
14 files
48.1K links
News about the Unity engine and project showcases from Reddit. Made possible with @reddit2telegram (@r_channels).
Download Telegram
Is it ok to have many prefabs instantiated in one scene?

https://preview.redd.it/635mklamyxyd1.png?width=833&format=png&auto=webp&s=606a3a5efeb678882d57f40e9c5ab59b8509a3d4


this is obviously just for level design and still in debug stage. I will use a Level loader later with dependency injection where I plan to instantiate chunks one at a time.

But maybe there is something I could use to group prefabs/game objects. Something like a sprite atlas that unity wants you to use for performance and clarity but I haven't heard of yet.

Thanks for any help.

https://redd.it/1gjnxk2
@r_Unity3D
Me and my friends made WievFinder and Rusty Laked inspired Puzzle Game in a small game jam. Take photos of objects , place them and escape from the house.

https://redd.it/1gjrm3v
@r_Unity3D
Is the new input system worth it?

I noticed the vast majority of tutorials use the old input system. Every time I try to do something I find tutorials that use the old one and I can never find stuff with the new one, it makes programming (and learning) much harder…

Is it worth it ?

https://redd.it/1gjsf9h
@r_Unity3D
How do I make my inspector look like his inspector?
https://redd.it/1gjtw3l
@r_Unity3D
How do I apply an image of say a grassy floor to my platforms in my games?

Every platform is a 2d square?

https://redd.it/1gjymu0
@r_Unity3D
New to Unity, anyone know why the character has a seizure instead of having a smooth animation?

https://gyazo.com/6c93df368ec1ee18d3162956568e9fa9

Sometimes the character spasms like the gif up there, sometimes it's smooth. Below are my settings. The character has the ability to rotate with user input but I don't do it in the clip

Player's Rigidbody

Ground settings

Anyone knows what's up? Thanks :)


EDIT:

public class PlayerController : MonoBehaviour
{
private Rigidbody2D rb2D;

SerializeField
private float torqueAmount = 25f;

void Start()
{
rb2D = GetComponent<Rigidbody2D>();
}

void FixedUpdate()
{
if(Input.GetKey(KeyCode.A) || Input.GetKey(KeyCode.LeftArrow))
{
rb2D.AddTorque(torqueAmount);
}
else if (Input.GetKey(KeyCode.D) || Input.GetKey(KeyCode.RightArrow))
{
rb2D.AddTorque(-torqueAmount);
}
}
}

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