-
5th May 2011, 12:43 PM
#11
OK, here is a run down on how the AI works-
There are green cubes called nodes. They have no logic, they just act as targets for the blue cube.
The blue cube has all the logic>
A node count property that increases when it collides with nodes.
A list of nodes (1-10), so when property node =1, go to node 1, when collison with node 2, property 'node count' increases by 1 (1 + 1 =2) so go to node 2, and so on.
Logic to reset the count to 1 when 'node count' = 11 (i.e. the last node, 10 plus the collison value).
If you want to increase the amount of nodes, then you will have to manually add more logic bricks in this sequence:
PROPERTY > AND > EDIT OBJECT (TRACK TO)
and make the track to target the node number.
If you run through the steps in your head its quite simple, its just confusing on-screen!
By the way, I have managed (with a bit of help) to get loops working in a way almost the same as the mag-strips. How the AI wll work with it I do not know yet!
And where is Xpand?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules