Your comments

Thank you for chiming in on the issue gentlemen! Much appreciated.

The original axis the side-scroller is running on (Green) will get adjusted when I collide (in this case - slide) object that has a slope with high angle and will fall down to the ground on a new, adjusted axis (yellow).

I understand this is a normal behaviour of the Unity physics engine and it makes sense for it to happen, but it limits my possibilities greatly.

Ofcourse Im not putting objects like these into the scene, but this happens with any movable object that the character can collide with + all the ragdolls of enemies that act really crazy on collision with the player, also changing the position on the axis.

This means I can't have any objects with rigidbodies I want my character to collide with + I will need to disable player collision with enemy ragdolls because when Player jumps on an enemy ragdoll, it is going to move him very rapidly and the ragdoll itself will jump around the location like there is a huge force applied to it (possibly another bug?).

Thank you very much

I understand.

Thought of it maybe as a function that would let you set the origin point, length and then apply a set of conditions and actions.


Raycasting is a powerful tool although my knowledge of it and Csharp in General is limited.

I guess it comes down to your personal preference.

Im trying to keep things sorted out so I put game controller actions under one category, other things in separate categories.