Sphere rolling towards third person player when pushed
I have a problem. In our game we have a third person character that has to push objects of different shapes. Everything works fine, but when I try to push an object with the shape of a sphere, the "ball" is rolling towards the character. As english isn't my native language, please forgive if I am talking "around the bush".
To be more specific: I can push the sphere, and as long as I keep pushing it slides over the floor in the desired direction, but it rotates exactly wrong, looking like it is rolling towards the character. I've played around a bit and found out, that if I push fast enough and suddenly change my direction, the ball even stops or rolls back in the opposite direction. It looks like it something with the angular momentum is wrong, but I can't figure out how to solve this.
I checked different settings for friction, weight, I even checked if my character perhaps is too small / too big. I spent two hours trying out different settings in my game / level / map etc. but nothing seems to change anything on that.
What am I doing wrong? Do you need additional informations?
asked Jul 06 '15 at 08:48 AM in Everything Else
Hey ... thanks to Omnicypher, who gave me the answer to another problem, I was able to find the problem making the balls rotate. The CharacterMovement Component has "Agent Physics", where you can find not only the Push Factor that makes your Character stronger or weaker, but also a "Push Factor Point ZOffset", wich is by default set to -0.75. While this is a fine idea for like kicking balls, its none for pushing balls. I don't see the point in setting its default rating to -0.75, but well, setting this to 0 really smoothes our complete physics.
So this is resolved I think.
answered Jul 08 '15 at 06:59 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here