im currently creating a game that is a sort of dune buggy game, and i’m using a character controller to control the car part and terrain as the ground. but when i test the game, the car just falls through, how can i mke the character controller collide with the terrain?
This is usually because the controller capsule is already colliding “in” terrain already when object is instantiated. Try to raise the position higher, so that capsule is just above over the terrain.
Dreamer is right in that your capsule is already interacting with the terrain. However, I’ve found just positioning the capsule higher sometimes breaks all connection, causing your capsule to never interact (depending on your gravity setting on the buggy here).
I’ve found the EASIEST solution, to usually be create a starting zone (usually I use a plane or cube component) that is hovering just above a spot on the terrain you want to spawn at. These are flat and will be very easy to position your capsule onto without going ‘in’ the terrain.
From there you should be able to drive off the plane or cube onto your terrain, and be good to go!