A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
I did some further investigation and the problem gets even stranger. It only happens when the ground is also a cube that is rotated 90 degrees...
Thanks for your help! I never had any trouble using velocity with Rigidbody2D's but your explanation makes sense.
Thanks for your reply. This removed the tiny constant movement. But I'm still curious why setting the velocity of the Rigidbody directly causes...
I'm using Unity 2018.3.0f2 Personal. Edit: now updating to Unity 2018.3.2f1.
The object is using a physics material. The object still moves around even if it did not receive any input at all. There is no other script on the...
I suspect gravity has something to do with it. If I set gravity.y to zero in Project Settings > Physics or uncheck Rigidbody.UseGravity the...
For some reason Rigidbody.Velocity is not the same as movement although I set it in FixedUpdate(): [ATTACH]
Thanks for your reply. I tried making it really low and really high but it seems to have no effect.
Objects in my game using a Rigidbody that are moved by setting the velocity have tiny movement all the time. [ATTACH] [ATTACH] As you can see...
This seems like a good idea. I'm gonna try it. Thanks mate!
You could do something like this. Reference the 2 lights in the inspector like menthos5k suggested. public class Example : MonoBehaviour {...
I'm building a multiplayer game in which players can choose different characters each with it's own unique abilities. For each of the characters I...
Found the problem. For people wondering what is was: adding colliders changes the center of mass and rotation behaviour of a rigidbody. To set...
Oh lol :P. I've tested the KMBMaker part on it's own and it seems to be working fine. What error message did you get?
I couldn't test this since I don't have the rest of your project but it seems the problem is in Update(). Change it to: void Update() {...
I'm using a gameobject with a rigidbody and multiple box- and capsule colliders attached to it. When I start the game the position of the...
Make sure the shader you use is Sprites/Diffuse, not the Legacy/Diffuse or any other Diffuse shader. Only Sprite shaders work with sprites.
Did you add the scenes in the Build Settings of your project? Go to File > Build Settings and add all the scenes you need.
You have one clossing bracket to many in your script. Remove the first closing bracket: public class PlayerController : MonoBehaviour { } //...
You should use the SceneManager to load scenes: https://docs.unity3d.com/ScriptReference/SceneManagement.SceneManager.html Example: using...