Only do collision checking for own avatar.

This commit is contained in:
Andrzej Kapolka 2013-05-21 13:01:01 -07:00
parent 597769a861
commit 1118c06f5d

View file

@ -261,7 +261,9 @@ void Avatar::simulate(float deltaTime) {
}
// collision response with voxels
updateCollisionWithVoxels(deltaTime);
if (_isMine) {
updateCollisionWithVoxels(deltaTime);
}
// driving the avatar around should only apply if this is my avatar (as opposed to an avatar being driven remotely)
if (_isMine) {