1099 Posted September 13, 2023 Posted September 13, 2023 I have a cube (wall) with a collider isTrigger not been checked. The player still goes through the cube and does not collide with the cube. How can I make a player collide with the cube and not pass through?
VIVE_chengnay Posted September 15, 2023 Posted September 15, 2023 Hi @1099, Do you have Rigidbody script added to your player? From my test, I will need to add Rigidbody to my Sphere(player) to prevent it from going through Cube(Wall). But, if the player keeps going, it will still pass through if it moves in fast speed.
1099 Posted September 16, 2023 Author Posted September 16, 2023 I have Rigidbody but not the Ridigidbody script. I haven't tried it yet, but I will try it! Thank you!g
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now