修改三维课程中跳跃
This commit is contained in:
parent
ddcfcaa465
commit
448edcf4b7
@ -467,6 +467,11 @@ export function ControlManager(dom,scene,lessonData,lessonIndex) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
if ( keyStates[ 'Space' ] ) {
|
||||||
|
|
||||||
|
playerVelocity.y = 10;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user