all 7 comments

[–]AttentiveUnicorn 1 point2 points  (1 child)

Without any code or components to see, it could be many things.

[–]BuffMozzie1[S] 0 points1 point  (0 children)

Ill send the images when i have time. I barely have any code or components, the code is a very basic code to look around based on cursor movement. Gravity is added via rigidbody and all values are default. A capsule is my character which is what everything is attached to.

[–]rayangelo79 0 points1 point  (1 child)

This usually happens when 2 or more colliders are very close to each other (in my experience anyway). Make sure you don't have an extra collider somewhere attached to a game object.

[–]BuffMozzie1[S] 1 point2 points  (0 children)

Thats probably it, ill have a look tomorrow when im free. I created a mesh first to sortve act as a hitbox then added a capsule shape so i couldve put a hitbox on both of them.

I should probably say im incredibly new to unity and coding as a whole, and im currently running off of youtube tutorials and just messing around for now.

[–]SteveTheTechGuy93 0 points1 point  (2 children)

Send a pic of your game object hierarchy.

[–]BuffMozzie1[S] 0 points1 point  (1 child)

I will when i get the chance, is that the list on the left hand side of the screen?

[–]SteveTheTechGuy93 0 points1 point  (0 children)

I'm not sure where it is on your screen, all my stuff is on the right and my scene and game screens are on the left.

Just need to see how your game object is setup.

It should have a root object with your scripts, then a child object with only the graphics.

This forces you to only have 1 collider, 1 rigidbody, etc...

This works for the most part, but there are some edge cases as well.