followerJoinNearest
Platform Compatibility PC Mac OSX Oculus Quest X X X Try to join the nearest path waypoint we can find Parameters: index Optional An integer value Example: 1obj.followerJoinNearest(index)
McMaster University Virtual Reality Simulation and Research
Articles for coding in Artspark
Platform Compatibility PC Mac OSX Oculus Quest X X X Try to join the nearest path waypoint we can find Parameters: index Optional An integer value Example: 1obj.followerJoinNearest(index)
Platform Compatibility PC Mac OSX Oculus Quest X X X How long has it been waiting? Parameters: index Optional An integer value returns a Float (decimal number) value Example: 1obj.followerWaitTime(index)
Platform Compatibility PC Mac OSX Oculus Quest X X X Force a look angle on Y axis, -1 for off Parameters: angle A float value index Optional An integer value Example: 1obj.followerForceAng(angle, index)
Platform Compatibility PC Mac OSX Oculus Quest X X X Set follower move speed Parameters: speed A float value index Optional An integer value Example: 1obj.followerMoveSpd(speed, index)
Platform Compatibility PC Mac OSX Oculus Quest X X X Move forwards? Parameters: _tf A boolean value index Optional An integer value Example: 1obj.followerForward(_tf, index)
Platform Compatibility PC Mac OSX Oculus Quest X X X Force a follower to move to the next point Parameters: index Optional An integer value Example: 1obj.followerNextPoint(index)
Platform Compatibility PC Mac OSX Oculus Quest X X X Stop following paths Parameters: index Optional An integer value Example: 1obj.followerStop(index)
Platform Compatibility PC Mac OSX Oculus Quest X X X Force object to follow set waypoint Parameters: point An integer value index Optional An integer value Example: 1obj.forceWaypoint(point, index)
Platform Compatibility PC Mac OSX Oculus Quest X X X Force object to follow a path in a direction Parameters: pathNo An integer value pointNo An integer value forward Optional A boolean value index Optional An integer value Example: 1obj.followPath(pathNo, pointNo, forward, index)
Platform Compatibility PC Mac OSX Oculus Quest X X X Try to run a script when arrived at the waypoint Parameters: script A string value index Optional An integer value Example: 1obj.waypointScript(script, index)