RoboWalker.cs 334 B

123456789101112131415161718192021
  1. using System;
  2. using AtomicEngine;
  3. public class RoboWalker : CSComponent
  4. {
  5. void Start()
  6. {
  7. // Create the CrowdAgent
  8. var agent = Node.CreateComponent<CrowdAgent>();
  9. agent.Height = 2.0f;
  10. agent.MaxSpeed = 3.0f;
  11. agent.MaxAccel = 3.0f;
  12. }
  13. void Update(float timeStep)
  14. {
  15. }
  16. }