Quantcast
Channel: Questions in topic: "addforce"
Viewing all articles
Browse latest Browse all 1264

How do I add force To rigidbody based On Character's Walking direction?

$
0
0
So there's gonna be objects such as balls on the ground in my FPS style game. When the player walks and collides with them, the balls should be pushed. with some force. My Character is character Controller and is not a rigidbody. so i have to add the force myself with scripting "addForce" but yeah. how do i add force for the ball to go in the direction the player is facing?

Viewing all articles
Browse latest Browse all 1264

Trending Articles



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