A Continuously Moving Entity??

11 views
Skip to first unread message

Rebecca Penn

unread,
Jun 10, 2010, 10:27:18 PM6/10/10
to ARCH1101-2010
Hi everyone,
I was just wondering if there was a way to use the MovingEntity flow
graph that Russell used in the tutorial for elevators, but not have a
key to make the entity move as I want the object to continuously move
between these two coordinates.
Any suggestions on this would be great, thanks
-Bec

Garth Miller

unread,
Jun 11, 2010, 2:55:41 AM6/11/10
to ARCH1101-2010
Hey,
You can probably do it by using the 'done' action in 'move entity to'
to move it back to the start and then another 'done' action to move it
to the finish again thus hopefully creating a loop. I haven't tried it
out though so I can't confirm whether it works. Good luck,
Garth

Rebecca Penn

unread,
Jun 11, 2010, 4:13:53 AM6/11/10
to ARCH1101-2010
So I put the arrow from 'done' to 'start' on the first one to the
second one, and then the same from the second to the first... I dont
think anything happened though.
it was a good idea, I dont know what else to do now. maybe I will just
have to have it as a key trigger aswell.
any more ideas?
-Bec

Russell Lowe

unread,
Jun 14, 2010, 8:31:41 PM6/14/10
to ARCH1101-2010
Hi Guys,

I just tried Garth's suggestion, and yup ... it worked well ... I
added a Misc:Start node to get it to kick off as soon as I went into
the game ... here's how I did it...

1. Create your 2 Movement:MoveEntityTo nodes to give it two positions
to move between (set them up as you would normally with Destination,
Speed and Ease Distance)
2. Create a Misc:Start node
3. Create a Logic:Any node
4. Link the output of the Misc:Start node to one input of the
Logic:Any node.
5. Link the output of the Logic:Any node with the Start input of the
destination Movement:MoveEntityTo node.
6. Link the Done output of the destination Movement:MoveEntityTo node
to the Start input of the original position Movement:MoveEntityTo
node.
7. Link the Done output of that node back to another input on the
Logic:Any node.

It's probably easier to do than it sounds ... let us know how you go.

Cheers
Reply all
Reply to author
Forward
0 new messages