Hi! I searched a lot and still wonder how to solve one simple for first look problem.
I have a generic character SPIDER with 4 legs. It controlled by Nav Mesh Agent. I need some how to keep his body always parallel to ground. For example, when spider walks on letters or rocks I need his body to rotate respectively to ground normal.
The problem is that Nav Mesh Agent locks all rotations. And if I create null under spider Nav Mesh controller and put his bones and model in this null, it looks like the only problem is to always point Y direction to normal vector from the ground. I tried different Look At snippets in PlayMaker and always got the same issue: 1. LookAt locks all rotations. 2. It points toward vector Z.
I need somehow to LookAt using Y vector and to keep X and Z vectors free to rotate.
Any ideas or help! Carma +100500 bear +2 =)