[Solved] Current position of BetterCharacterControl

Hello everyone,

maybe someone can help me.

I try to make BetterCharacterControl to move through list of wayPoints, and I need to somehow stop character when when it reaches the waypoint.
My idea was to check distanse between current position and destination. Something like this:

while (true) {
if (destination.subtract(currentPosition).length() < 1) {

But then i realize that there is no current position for charactercontrol, or I can’t find it.

My question: anyone know how to get current position, or, maybe, better way to make character stop on waypoint?

Thank you in advance

Socratic method: “What is the BetterCharacterControl attached to?”

1 Like

Thank you