Quantcast
Channel: Latest Questions by TheXWolf
Viewing all articles
Browse latest Browse all 9

Moving platforms with proper physics.

$
0
0
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?

Viewing all articles
Browse latest Browse all 9

Trending Articles



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