Characters, Ramps, and Ladders
Posted: Tue Apr 19, 2011 11:34 pm
Hey guys, I'm currently using the SimpleCharacterController from version 0.15.2 and I'm having an issue with some of my movement. Some of the buildings in my game have somewhat steep ramps or 90 degree ladders that I'd like the player to be able to climb at the same speed as the normal walking speed.
I've tried modifying some of the traction settings, and the MaxSlope setting for the ramps, but my character only can barely get up them if he has a decent amount of momentum first, and I'd like to just be able to casually walk up and down the ramps (say one that was 50 degrees as an example) without my speed increasing or decreasing. Is there a property that would enable this? Or is there something I need to disable to do this?
Also I was wondering if anyone had any suggestions on what kind of event collisions I should be using to simulate a basic 90 degree ladder. I'm thinking that if I had an event that turned off gravity for the player whenever they were touching the ladder that might essentially allow for the simple up and down movement I'm looking for but is there anything else that might be better?
I've tried modifying some of the traction settings, and the MaxSlope setting for the ramps, but my character only can barely get up them if he has a decent amount of momentum first, and I'd like to just be able to casually walk up and down the ramps (say one that was 50 degrees as an example) without my speed increasing or decreasing. Is there a property that would enable this? Or is there something I need to disable to do this?
Also I was wondering if anyone had any suggestions on what kind of event collisions I should be using to simulate a basic 90 degree ladder. I'm thinking that if I had an event that turned off gravity for the player whenever they were touching the ladder that might essentially allow for the simple up and down movement I'm looking for but is there anything else that might be better?