Game Development Community

Help with slope collision detection please

by David Deschenes · in Torque Game Builder · 03/05/2009 (12:00 pm) · 2 replies

Hey all, im working on a project for school and i noticed that when physics is active with a constant force you cant walk up steep slopes. is there any way that you can change that without messing with the physics settings? I am trying to make a platformer so this is kindof important so any help would be greatly aprecieated.

#1
07/08/2009 (9:57 pm)
I would suggest the Platformer Kit... It does that for you.

But anyway, you need to make the collision for your player (or whatever else needs to go up slopes) with a pointed bottom.
#2
07/12/2009 (10:49 am)
Whatever Y speed is calculated going up the slope clearly isnt exceeding your gravity, you need to somehow detect when the player is on a slope and increase the y velocity to match or exceed gravity.

BTW, you dont need a pointed bottom actually.