Quantcast
Channel: Latest Questions on Unity Answers
Viewing all articles
Browse latest Browse all 171066

How to make Sprite not Bounce on Collision (2D)

$
0
0
Hi everyone, i just started my experience with unity a few days ago and i got stuck with this problem that probably for the most of you is a stupid issue. I'm actually using the 2D setup , trying to make a RPG game FFV like. I've created a Sprite object for the main character,with a 2D Box Collider and rigidbody (setting gravity scale to 0, so it doesn't fall down). Now, when the sprite collides with another sprite, or a simple Quad Object with another box collider 2D (i've created a custom 2D Physics Material for this last one with 0 friction and 0 bounciness) it bounces back a little, i've tried to look around for long and can't find a way to make the sprite just stop walking with no bounceback. Can someone help me working this out? Thanks in advance (PS:I'm using a custom Character Controller 2D to move the character and i'm not making it use the physics for movement so i'm sure it doesn't interfere with the general physics)

Viewing all articles
Browse latest Browse all 171066

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>