- Home /
Question by
Bubinga_Studios · Aug 01, 2018 at 12:09 AM ·
rigidbody2dx-axisconstant
Can X be affected by slopes but have Y stay constant?
Hello! I am making a 2D platformer game where your speed increases by jumping. I am trying to make it so you do NOT go flying upwards, but you do gain momentum on the X axis. I want the jumping to be constant: sort of like 5 units upward and then slowly falls down, but I would like the X to increase or decrease on slopes. I might be overthinking this, but I could use help. If you are confused by my question, I can respond. The sooner the better! Thank you Unity Community!
Comment