-
Random position
Hi there,
Really new to expressions, so bear with me… I am trying to have some objects in a 3D scene move randomly. Here’s what I want to do:-the objects in the scene to start moving at the start (0sec) of the comp at a random speed in either -x or +x.
-the speed to only be random up to a maximum value (so they move nice and slowly)
-I don’t want them to change direction or speed at all, just move at a constant speed in a constant direction the whole clip (1:20) once they’ve ‘decided’ which way and how fast to go.
I had a go with one of the programmers here helping me. He has done stuff in javascript and we used Dan Ebberts’ excellent site as a starting point, but we’re both stumped. (noobs!)
Here’s the project file
http://www.roarfilm.com.au/dev/search_previs.aep.zip
The null object in the scene (that the rest are parented to) is basically the maximum speed at which I’d like the boxes to move, the ones going crazy are the ones we’ve tried to script.Any help would be much appreciated!