Forum rules - please read before posting.

Pushing and reaching walls Animation

Hi
I was thinking if there is any possibility of easily adding 2 things to player control?
1-Pushing animation: player push some game objects to a side.
2- Hitting the wall Animation when the plays reaches something and hits it insted of stoping to run.

Comments

  • edited September 2023

    That functionality is more of a Unity in general question.
    The pushing GameObjects is relatively easy, you can just add a push rigidbody script, to your Player Character. An example is in the Unity Starter Assets Character Controllers, you can just copy that over.

    Hitting a wall and playing an Animation would need you to cast a Ray and checking if you are near a wall, and play an animation at a certain distance.

  • thank you for the straight forward help.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.