Object creation:

I’m going to create a function that populates an array: “var sphere =  sphere[]” and create 10 of them through a for loop on init. Then in the animation loop I should be able to create another for loop that runs through each object in the array and matches the visuals with the physics objects.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s