You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But when I stop pressing Walk Button, I want the cube to move to the Next AnchorPoint (the ones with default red sphere gizmos)
But, I cannot find a way to do so
Help🙂
The text was updated successfully, but these errors were encountered:
I have a cube, I move it along the path using
if(isWalkPressed)
{
distanceTravelled += speed * Time.deltaTime;
targetCube.position = pathCreator.path.GetPointAtDistance(distanceTravelled);
}
But when I stop pressing Walk Button, I want the cube to move to the Next AnchorPoint (the ones with default red sphere gizmos)
But, I cannot find a way to do so
Help🙂
The text was updated successfully, but these errors were encountered: