- Home /
How to make game objects completley solid?
Hey guys, in my 2D game I made my sprites have a box collider and a ridgid body 2d, but my player object can still kind of try to squeeze in halfway into the center of the the other sprites which are solid, but still have wiggle room. What is the best say to make my sprites completely solid?
Thanks in advance!
have you had a go at this?
You saved me, I've try everything for my game and problem was that my character moved to fast, and this solved my problem, thanks!
Answer by InvincibleCat · Jan 09, 2015 at 09:47 PM
Try to make the movement code of your character in FixedUpdate and not Update
Answer by Ericool · Jan 09, 2015 at 12:50 PM
Make sure first that colliders are not triggered and all sprites have one
That is already done. As I said, the objects are solid, but my player object can sort of try and squeeze in half way but gets pushed out.
Your answer
Follow this Question
Related Questions
OnTriggerEnter2D problem on created collider2d and rigidbody2d during runtime 0 Answers
High speed 2D colliders going through eachother? 2 Answers
Pausing/Waiting/Stopping code in a 2D Collision Function 1 Answer
Collision detection not working properly with 2D sprites 1 Answer
Object following a path and colliding with other objects with physics. 1 Answer