So in an effort to simply my process I'm using transform.Translate for my platforming objects that move. But...when a player jumps on to them he slips around a lot as it's still moving. I'm using basic code for movement, here's an example of plain horizontal movement:
transform.Translate(Speed * Time.smoothDeltaTime, 0,0, Space.Self);
It works perfect, since what I'm doing is just having the platform move to a position
and then back again. But when my character (using a rigidbody2d & collider) lands on it he slides around. What can I do to avoid that?
↧