Download

Something else than mesh bound, and side scroller rotation?

Hy, I have two questions, first is how to adjust mesh bound to have better transition betwen static meshes which is floor?

Second is little harder questin. I made simple code, my red enemy (AI) catching blue player. Enemy sends capsule ray trace line to detect obstacles, and I add simple launch character force to jump over obstacle. This is just testing.

But problem is - how to set that AI adjust rotates how is floor? I mean, when my floor is at cca 25 degrese - I want that AI have that rotation. This is little harder, is it?

59964d601563602b6cabc988397b0ff9f7ed4619.jpeg