setVelocity Generic
1 | setVelocity(object, velocity)
|
object |
An object of class Agent |
velocity |
A numerical vector of length 2 specifying the velocity in the x- and y-direction of the object of class Agent [Default: c(0, 0)]. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.