Hey ya'll, I'm new to Adventure Creator and absolutely love the editor, I would've killed for something like this when I was younger! My question is about the FPS player prefab from the site. When I use it going up ramps it works fine, there's no slow down or anything, but going down ramps or stairs the prefab sort of just bounces down. I'm not really to sure how to fix it as I'm not familiar enough with programming or physics to engage it in any other way besides the inspector and nothing there has given me any results so far. Thank ya'll for your time!
EDIT: Sorry, I was certain I was in the Technical Q&A when I posted this but I must have misclicked!
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Welcome to the community, @stealthnachos.
To be clear: you're using the first-person player prefab from AC's Downloads page?
What you're describing is a common problem that controllers have, and there are a number of approaches that developers take to remedy it.
You should be able to reduce this effect by increasing the "Simulated mass" in your Player Inspector, but I shall look into this myself to see if I can provide something more robust.
Here's a script (StickToSlope.cs) that you can attach to your Player prefab to improve behaviour when moving down sloped surfaces:
This causes the player to "snap" to the ground, so it'll work better for slopes than steps. For steps, you may wish to smoothen their colliders for smoother movement - if they make use of a Mesh Collider, you can do this by checking "Convex" in its Inspector.