Created
February 19, 2021 12:41
-
-
Save wrr/5d110c191a8f0a5a962a20f006e4095d to your computer and use it in GitHub Desktop.
Configure how close to objects a camera can move within a Shapespark scene.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
// The numbers below are in meters. | |
WALK.CLICK_MOVE_MIN_DISTANCE_TO_OBSTACLE = 0.7; | |
WALK.KEY_MOVE_MIN_DISTANCE_TO_OBSTACLE = 0.5; | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment