I am creating a stealth game, your character is a fox.
however the character’s body Feels stiff and robotic
so, I would like the lower body to ease into view when turning around and ease back to its original position when the player is no longer turning around quick enough, or isn’t turning around at all
This game shows the desired result: Aliens vs. Predator - (Alien Campaign) Full Walkthrough Gameplay No Commentary - YouTube
4:10
However I cannot seem to find a method that is reliable, i have tried Animations, and constraints (Rope contraints, Hinge Constrains, And Ball Hinge constrains.)
None of the mentioned methods have worked for me.
I am not great at scripting, however i do know some basics (Functions, raycasting, events, and simple commands).
Any Help is appreciated!
Can you send an image of your character? What do you mean by “doesn’t feel dyanmic”?
Excuse my trashy style, The main body is split into 2 parts (Chest, Hindquarters).
I mean when playing as the character, the body doesnt feel dynamic or life-like when turning around, it feels stiff, I want the body to ease into the camera, depending on the direction the player is turning - (When turning Left the body will ease into view from the left, and vice versa for right).
In order to achieve the desired effect, you will need to use a combination of scripting and animation.
Start by creating an animation that shows the fox’s lower body easing into view when turning around. This will allow your character to have a more fluid motion when turning.
Next, create a script that will detect when the player is no longer turning quickly or is not turning at all. This can be accomplished by using a raycast to detect when the player is not moving. Once the player is no longer turning, the script should play the animation you created earlier to ease the lower body back to its original position.
Finally, use a blendTree to blend the animation you have created with the character’s existing animation. This will ensure that the animation will appear natural and blend with the existing movement.
I hope this helps! Good luck with your development.
Wait is this what you mean?
Turning left = Turn Left animation
Turning Right = Turn right animation
Stop turning = body returns to position from right or left (Depending on where the player was turning.)