Quantcast
Channel: Latest Questions by Gillissie
Viewing all articles
Browse latest Browse all 93

simple collision not working

$
0
0
I feel stupid to have to ask for help on this. I have a player object with a capsule collider (I don't want to use the character controller because I don't want gravity). I also added a RigidBody component and marked it as Kinematic and turned off gravity. I have other static objects in my scene with primitive colliders but no rigidbody. When I move my player I want it to collide with the static objects and NOT PASS THROUGH. I'd like it to slide around the colliders it runs into, like you would expect a player to do when colliding with something at an angle. I don't really care about the collision events at this time, I only want to prevent the player from walking through stuff. What am I missing?

Viewing all articles
Browse latest Browse all 93

Trending Articles



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