Quantcast
Channel: Questions in topic: "enemy"
Viewing all articles
Browse latest Browse all 1488

Player Pushes Enemies. (That's bad)

$
0
0
So, I have some rigidbody enemies. They use a rigidbody.MovePosition to move. The problem is this, when the character runs into the players, the velocity from the character is transferred to the enemy (think newton's cradle). I don't want this. Is there a way to ignore physics from the player? I don't want to be able to walk through the enemies. I want them to solid when I hit them, and stand their ground. Does that make sense?

Viewing all articles
Browse latest Browse all 1488

Trending Articles



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