What solutions have you tried so far? Did you look for solutions on the Developer Hub?
Yes, nothing is helpful.
local function randomWaypoint()
local randomWaypoint = waypoints:GetChildren()[math.random(1,#waypoints:GetChildren())]
redbear:MoveTo(randomWaypoint.Position)
redbear.pose.Value = randomWaypoint.Name
end
Yes, i want it to face the waypoint’s direction. Like he’s facing the wall, but i want it to be where the blue drawing is.
I’ve tried this but it’s still facing the other direction.
local function randomWaypoint()
local randomWaypoint = waypoints:GetChildren()[math.random(1,#waypoints:GetChildren())]
--redbear:MoveTo(randomWaypoint.Position)
redbear:PivotTo(randomWaypoint.CFrame * CFrame.Angles(math.rad(0), math.rad(randomWaypoint.Orientation.Y),math.rad(0)))
redbear.pose.Value = randomWaypoint.Name
end