Questions tagged [unity]

Unity is a cross-platform game creation system that focuses on easy art pipeline process. It consists of a game engine and an integrated development environment. The game engine's scripting is built on Mono.

I'm new to Unity.
I am making my first Game and faced with problem.
I have a plane and 4 gameobject that has box collider surrounded this plane. there are a few spheres as players inside of the plane....

My background and gameobjects are 2d sprites not UI images ,I want to know how to make my background scale with screen size and positions of 2d sprits on it don't change after building game (webGl) ...

Ok I have an issue with several meshes that have a lower poly count in blender, then when I export as fbx and bring into unity, the poly/vertex count skyrockets. I read here
https://forum.unity.com/...

I ran into trouble making a PC game using Unity.
If I try to update my game, I can't a update the C# scripts (because AssetBundles don't include C# scripts)
So I think I'll need to use a server and ...

I have a basic understanding of inverse kinematics, in that there's a workspace and a configuration space, and the point is to find a solution in configuration space that satisfies a workspace goal. ...

I'm setting the IKPosition and IKRotation of the LeftHand AvatarIKGoal to a transforms pos and rot, and the position is lining up correctly but the rotation isn't. It's strange, because in the IK goal ...

I tried ball.velocity = Vector3.forward * speed and also *=-1 when the collision is occurred(It only works for straight way. But I want the ball movement be liked in photo. How can i do it? Thank you ...

I'm scripting character IK to look at object "enemy" direction. If enemy is above him, he look at enemy. The issue here is when enemy goes out of character range. Character should look forward, and he ...

Main
What are the differences between those path-finding algorithms.
Is Navigation Mesh faster in finding the path?
Is it more correct than Quad/Oc Tree?
Does Navigation Mesh use Quad/Oc tree under ...

Hello i am making a game in which i have to drag a sphere on x axis and z axis on a plane with my mouse and i have created walls from cubes so that my sphere not go anywhere else in the game but while ...

It only happens in my main game project. I've tested it in 2 other empty projects, both in multiple versions of unity (2018.3.0f2 and 2018.3.2f1).
The strange thing is that if I look at the material, ...

I am making an RTS game in unity like Total War games. As for rendering I am using Graphics draw mesh instanced method and after culling a I can easily render massive amount of soldiers on battlefield ...

as im trying to build my new app on unity android specially when i want to use gradle, there is always some conflict with manifest or libraries and .....
for debug and problem exploration i need to ...

How can I avoid jitter in Unity?
Let's suppose that I want to create a 2D movement system using a Rigidbody 2D(Dynamic), and I want make the camera follow the character (which is a pixel art sprite)....

(I posted a very similar question here recently and the response I received was helpful. But I have been advised to start a new question, and here it is.)
I am developing a Unity game which includes ...

I'm trying to create a falling word game like z-type (code here). I have created 3 game objects and I want the words to be added as text to these game objects something like a health bar is added to ...

I'm working on an app that I want to be useable without and with VR (with a Windows Mixed Reality HMD like the Samsung Odyssey).
For non-VR I'm simply using a canvas in "Screen Space - Camera" and a ...

i need a way to make the countdown decreasing inside the if statement i am stacking in this problem for more than 3 days .. Don't suggest to me Coroutine cause it will not working in my case cause i ...

I know Unity has an advanced system for managing complex dynamic particle systems with a few thousand elements (Shuriken).
Does Unity have a more lightweight way to create a very, very large (several ...

I created a bezier curve prefab using the code in the post How to create an illustrator/photoshop-like pentool for creating bezier curves in Unity. I added a few copies of the prefab to my scene. When ...

I am getting these blank errors in unity for quite a while now, as soon as I create a new Project 2D or 3D I am presented with the following and can't enter in play mode.
And as a workaround I have ...

I'm generating a polygon from code to display unit ranges in my game. Here's how it looks so far:
I would love to be able to now use my texture and only apply it to the edges of this polygon (imagine ...