This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0473eadbe0576409073f1aac3b9e6a1fcc2df66bb7bbf4fdb5c91582f5cb283e5f6e2eed09025d4e3be4c377cea57d9538711c64c8fd8c8607adbe748c724c47dd;gchan |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (!agent.MoveTo(cylinderPosition, deltaTime)) { | |
return ActionResult.RUNNING; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import RAIN.Action; | |
import RAIN.Core; | |
class AIMoveToCylinder extends RAIN.Action.Action | |
{ | |
private var wayPath : RAIN.Path.RAINPathManager; | |
private var raySensor : RAIN.Sensors.RaycastSensor; | |
private var cylinder: GameObject; | |
function newclass() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import RAIN.Action; | |
import RAIN.Core; | |
class AIPatrol extends RAIN.Action.Action | |
{ | |
private var agentPosition : Vector3 = Vector3.zero; | |
private var targetLocation : Vector3 = Vector3.zero; | |
private var wayPath : RAIN.Path.RAINPathManager; | |
private var wayPathSize : int; | |
private var count = 0; |