r/UnityHelp • u/makesnoZenZ • Aug 22 '23
r/UnityHelp • u/Senpai_Zaddy • Jun 11 '22
Why isnt this able to find the camera exstention but can find the movement just fine. Been stuck on this for hours.
r/UnityHelp • u/sulemankhan22 • Jul 12 '22
Looking for Guys who have a college degree in game development..
Hey guys.
im looking for guys how have gone to college in CS and have properly studied game development.
plz Reach back. ty
r/UnityHelp • u/Powerful_Object1378 • May 03 '22
Hi I’m searching for some free pixel art textures.. I’m going for a octopath look..
r/UnityHelp • u/Majestic-County4081 • Jan 03 '24
Animator Problem When Playing an Animation While Shooting
I would like to play my created animation of the gun slide when I press the shoot button. When I shoot, the animation plays, but it takes forever to play again after shooting.
I've watched numerous videos and read guides, but I just can't find the mistake. I would be grateful if someone could help me and explain what I'm doing wrong. I have attached the asset folder.
Thank you very much!!!
r/UnityHelp • u/irlsonic • Jan 12 '24
PROGRAMMING Please Help!
heres my movement code im manipulating sonics walkspeed to slow down on slopes and slide down slopes but theres a problem i cant figure out how to fix.
if key_up
{
key_x = 1;
key_y = 0;
dir = 1
}
if key_down
{
key_x = -1;
key_y = 0;
dir = -1
}
if key_left
{
key_y = -1;
key_x = 0;
dir = -1
}
if key_right
{
key_y = 1;
key_x = 0;
dir = 1
}
if key_up && key_right
{
key_x = 0.71
key_y = 0.71
dir = 1
}
if key_up && key_left
{
key_x = 0.71
key_y = -0.71
dir = 1
}
if key_down && key_right
{
key_x = -0.71
key_y = 0.71
dir = -1
}
if key_down && key_left
{
key_x = -0.71
key_y = -0.71
dir = -1
}key_l = point_distance(0, 0, key_x, key_y)
if (key_l > 0) {
hspd = (lengthdir_x(key_x, cam_d) + lengthdir_x(key_y, cam_d - 90)) * (walkspeed)
vspd = (lengthdir_y(key_x, cam_d) + lengthdir_y(key_y, cam_d - 90)) * (walkspeed)
tfacing = point_direction(0, 0, key_x, key_y) + cam_d
}
else if walkspeed > 0{
hspd = (lengthdir_x(key_x, cam_d) + lengthdir_x(key_y, cam_d - 90)) * (walkspeed)
vspd = (lengthdir_y(key_x, cam_d) + lengthdir_y(key_y, cam_d - 90)) * (walkspeed)
}walkspeed -= slope_factor * sin(ramp_angle)
r/UnityHelp • u/FeedbackNo5411 • Oct 24 '23
PROGRAMMING Win State
My game is about hitting all 5 balls with a limited amount of ammo, so my targets has a collider trigger so that when the player hits it, it gets destroyed. How do I write the logic of the code so that when player hits all 5, I can set my canvas image to set active true.
r/UnityHelp • u/LongjumpingSea9521 • Feb 12 '24
i am making an active ragdol and i am running into issues
i am making an active ragdol and i have 2 models one doing the animations and the other made up of configurable joints on rigid bodys im having an issue and im not sure if its my model thats the issue. i have a script on the physics model on each body part setting its target rotation to its corresponding part on the animated model but when the rotations are limited on the physics body the animation doesnt work and when they are free the body locks weirdly
r/UnityHelp • u/SKULL-X-LEGEND • Nov 14 '22
Unity touch control help
Hi, I'm using unity to make my first game. I want to make object 1 which is rotating around object 2 to rotate back and forth around object 2 with a single tap using touch control, can some please help?
I'm using Unity 2d
r/UnityHelp • u/Calm-Fact-1176 • Nov 14 '22
PROGRAMMING Is there any way to make the SetPosition of a LineRenderer smoother?
Is there any way to make the SetPosition of a LineRenderer smoother. I'm making a 2D game, and I'm making a chameleon tongue, where it pops out of the mouth to a point and then comes back, but this makes the animation very fast, is there any way to make it slower and smoother?
My question is is there a way to smooth the setposition of a linerenderer? As I have in my script.
myLine.SetPosition(1, pointfinal.position);
EdgeCollider2D edgeCollider;
LineRenderer myLine;
public Transform pointOne;
public Transform pointfinalZero;
public Transform pointfinal;
public bool isTongue;
void Start()
{
edgeCollider = this.GetComponent<EdgeCollider2D>();
myLine = this.GetComponent<LineRenderer>();
}
void Update()
{
SetEdgeCollider(myLine);
myLine.SetPosition(0, pointOne.position);
if(isTongue)
{
myLine.SetPosition(1, pointfinal.position);
}
if(!isTongue)
{
myLine.SetPosition(1, pointfinalZero.position);
}
}
void SetEdgeCollider(LineRenderer lineRenderer)
{
List<Vector2> edges = new List<Vector2>();
for(int point = 0; point<lineRenderer.positionCount; point++)
{
Vector3 lineRendererPoint = lineRenderer.GetPosition(point);
edges.Add(new Vector2(lineRendererPoint.x, lineRendererPoint.y));
}
edgeCollider.SetPoints(edges);
}r/UnityHelp • u/elituz • Nov 14 '22
Fingers not rigged, one finger not in right place (Modding Help)
r/UnityHelp • u/ItsFud • Apr 04 '23
Missing Comma?
I copied some code off a youtube tutorial, but it said that it was missing a comma on line 40, character 87. I checked there and there was already a comma there, I thought maybe it needed 2 commas for some reason so I tried adding an extra one. It then just said "argument missing". Does anyone know what is going on?
r/UnityHelp • u/DelicateJohnson • Nov 15 '24
SOLVED Just installed Unity 6, trying to start a new 2D URP project to follow a tutorial and it crashes every time before I can ever do anything.
r/UnityHelp • u/Appropriate-Past-631 • Dec 08 '24
My agent is avoiding the navmesh 😭
How do I fix? It's supposed to be on the orange cylinder
r/UnityHelp • u/GenieGearX • Jan 30 '25
MODELS/MESHES Trying to make a VRChat model in Unity, ran into problem, no help online!
I am using Unity Version 2022.3.22f as suggested by the program itself for VRChat models.
When I go into the VRSDK Control Panel and try to upload, I'm met with an error on all of my models that says "Spine Hierarchy Missing Elements, please map: Chest."
When you look this issue up online, everyone says to go to the Model and Rig tabs to fix it. But no version of Unity I've ever had shows those tabs whenever I select any instance of the model, prefabs, meshes, etc.
I even found some other people on online forums who have had this issue too, but never get a response.
I've also tried asking other Reddit pages as well, to no avail.
Is there anyone who can help resolve this consistent issue? Or at least suggest a version of Unity that's compatible with VRChat and has those tabs that I apparently need to fix this little issue? It'd be much appreciated.
I should state that I've got no experience in 3D modeling, using blender, or anything like that. I'm simply using a model that already had prefabs made in a FBX to VRM converter program. So my know-how is very little on this stuff. I'd just like to fix this little issue and upload my model so I can continue uploading more in the future.
r/UnityHelp • u/LegitimateDinner6615 • Dec 21 '24
is it possible to make an underwater effect in the unit without using triggers so that there is a purely empty object when the camera intersects with it to activate the effects, if it is possible, tell me step by step how to do it
r/UnityHelp • u/MynameisEhahaha • Jan 27 '25
How many object/traingles that PC can handle on each scene?
Hi! I sundenly curious because I gonna making my first game. I still lack of knowlegde about optimize game stuff. so I curious about numbers that universally using. like object in scene there a limit? for making gameplay smooth without FPS drop too much. or trangles face that one scene mostly every PC can handle and render it.
r/UnityHelp • u/LegitimateDinner6615 • Dec 11 '24
допоможіть будь ласка , створюю гру на юніті добавив можливість лазіння на обєкти під 3 тегами , коли персонаж зі стану idle залазить на обєкт то все добре а коли наприклад у русі то через раз спрацьовує лазіння .ДОПОМОЖІТЬ БУДЬ ЛАСКА!!!
r/UnityHelp • u/RedicionStudio • Dec 15 '24
UNITY Got a Horror Game Idea? Build It with the Unity Horror Multiplayer Game Template!
r/UnityHelp • u/LegitimateDinner6615 • Dec 15 '24
юніті від 3 лиця гра
допоможіть можливо хто знає , як виправити проблему коли персонаж зі стану fall падає у воду то він приземляється у воду наче на тверду поверхню на перші дві секунди після чого вже звичайні анімації плавання та саме плавання , у мене за стан fall відповідає булевий параметр grounded == false тобто чомусь коли персонаж приземляється на воду спрацьовує grounded == true на дві секунди
