This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes

I cannot figure out how to make a KinematicBody3D work consistently on slopes. The behaviour im aiming for, is that no horizontal movement is ever caused by a slope, with one exception being falling down on a too steep slope, which should make the player fall along it.

This is starting to seem very ambitious, because i can't even figure out standing still on a slope. I have tried both moveandslide, and moveandslidewithsnap with stoponslope. But that doesn't work properly, not completely sure why, but i think it's because my movement isn't spontaneous. I also tried not applying any gravity while grounded, but the moveandslide functions still slided me for some wicked reason. I have concluded that i don't understand them. So my question is: is there a built in way to do this, or do i have to make it myself using moveandcollide? Thanks.

in Engine by (12 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.