Position update working, rotations not:

The for loop works fine for the position values of the objects I’ve generated but on collision the rotations don’t update. I’m unsure why this occurs for it seems my for loop is working fine with the position updating. As well as the quaternions working when I had a single sphere in the scene.

Image

The only other thing that has changed since then is that I removed the gravity from my scene because my game is going to be in space. I’m a bit stumped on this matter so am going to search the internet for an answer, hopefully someone else has experienced this behaviour before.

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