Skip to content

Commit da106ef

Browse files
committed
SaltFlats got some Terraces
1 parent 870782a commit da106ef

File tree

7 files changed

+4
-4
lines changed

7 files changed

+4
-4
lines changed
775 KB
Loading
-3.36 MB
Binary file not shown.
Binary file not shown.

Source/pxlRooms/SaltFlatsEnvironment/SaltFlatsEnvironment.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,10 @@ export class SaltFlatsEnvironment extends RoomEnvironment{
100100

101101
let scrollGrp = this.geoList["Scripted"]["MovingEng_grp"];
102102
if( scrollGrp ){
103-
scrollGrp.position.z += .065;
104-
let shift = 15;
105-
let scrollThreshold = 177.433;
106-
let scrollLimit = 177.433 - shift;
103+
scrollGrp.position.z = (3.6 * this.msRunner.x) % 150.0;
104+
let shift = 0;
105+
let scrollThreshold = 150.0;
106+
let scrollLimit = scrollThreshold - shift;
107107
if( scrollGrp.position.z > scrollLimit ){
108108
scrollGrp.position.z -= scrollLimit;
109109
}
775 KB
Loading
-3.36 MB
Binary file not shown.
-1.71 MB
Binary file not shown.

0 commit comments

Comments
 (0)