mirror of
https://github.com/overte-org/overte.git
synced 2025-04-26 13:36:12 +02:00
Only do collision checking for own avatar.
This commit is contained in:
parent
597769a861
commit
1118c06f5d
1 changed files with 3 additions and 1 deletions
|
@ -261,7 +261,9 @@ void Avatar::simulate(float deltaTime) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// collision response with voxels
|
// collision response with voxels
|
||||||
|
if (_isMine) {
|
||||||
updateCollisionWithVoxels(deltaTime);
|
updateCollisionWithVoxels(deltaTime);
|
||||||
|
}
|
||||||
|
|
||||||
// driving the avatar around should only apply if this is my avatar (as opposed to an avatar being driven remotely)
|
// driving the avatar around should only apply if this is my avatar (as opposed to an avatar being driven remotely)
|
||||||
if (_isMine) {
|
if (_isMine) {
|
||||||
|
|
Loading…
Reference in a new issue