Download

Need help in using the depentration vector from a sweep test

I am trying to make a new movement type using a capsule component and I am doing a sweep test to move the capsule to the next spot, however my understanding is that if the sweep starts and there is an overlap the normal outputs from the sweep hit results become a depentration vector. I am trying to use this vector to depentrate before re-applying my sweep but it never seems to depentrate. I have tried:

  • Adding and Subtracting the depentration vector to my current position

  • Using just the depentration vector as the new position

  • Using the depentration vector * x to move along that vector

but no matter what I try the next sweep still starts with an overlap. I know I’m missing something but I can’t seem to find any documentation on the depentration vector and how to use it.

Any help would be much appreciated!