We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a0b1b1 commit 414d7efCopy full SHA for 414d7ef
quickstart/26-npc-trigger-waypoints.py
@@ -67,7 +67,7 @@ def on_collision(agent1, agent2, contact):
67
tr = 0
68
if (i % 2):
69
tr = 10
70
- wp = lgsvl.DriveWaypoint(hit.point, speed, angle, 0, tr)
+ wp = lgsvl.DriveWaypoint(position=hit.point, speed=speed, angle=angle, idle=0, trigger_distance=tr)
71
waypoints.append(wp)
72
73
# When the NPC is within 0.5m of the waypoint, this will be called
0 commit comments