|
Post by zlblue on Oct 6, 2016 0:07:30 GMT
hello guys, i got a problem recently, the falling animation works not very smoothly.see those images, it took like 5s falling from there to bottom. how could i fix it?
|
|
|
Post by Invector on Oct 6, 2016 11:37:18 GMT
Try the demo scene there is 3 ramps with 45, 50 e 60 degrees each and he will slide falling if the ramp is 45+, the speed is pretty good there... you can compare the settings in the inspector. Or just increase the Extra Gravity value.
|
|
|
Post by zlblue on Oct 6, 2016 23:26:31 GMT
Try the demo scene there is 3 ramps with 45, 50 e 60 degrees each and he will slide falling if the ramp is 45+, the speed is pretty good there... you can compare the settings in the inspector. Or just increase the Extra Gravity value. hmm, i think in the demo screen, it works pretty good. but in the unity terrain, it has some problem. i think it is because the slope is changing sharply. so like in this case, the mountains slope was lower than 45 degrees(which is climbable) but later, it suddenly changed to 55(which chars would fall). the char started to fell, but then the slope changed back to 45 degrees again... this situation happened...so if the slope changes during falling, this need extra script to handle it . Best, Zl
|
|
|
Post by Invector on Oct 8, 2016 16:01:25 GMT
A easy way to solve this issue is to simple adjust your terrain slopes areas, if you want the character to slide make it more then 45 degrees in that area, if you don't want to change how the terrain looks, just create a box collider and use on that area.
|
|