hi,
im making a crowd simulatior in java3d. the basic idea is the user drags and drops people and obstacles onto a 2d map and then hits run. then using this info a java3d representation will appear showing the people moving around avoiding each other and the obstacles.
what happens is that at each time step each person object is sent to a behaviour object (e.g. a separation or a collision avoidance behaviour) and a vector3d is calculated and applied to the person object. this then updates the java3d rep.
i need help as i dont know how to update the java3d representation at each time step and what unit of time to use as i dont think System.currentTime Millis is the right way to go about it?
ive attached my class diagram in case anyones interested. im still only at the design stage so any advice now would be a big help:)
many thanks.