default start position
we're using keyboard commands to get around our environment. the default starting location is (0,0,0), but that location interferes with some things we have in the environment. we would like to be able to shift the starting position to another position we have defined.
here is the code we have tried so far. it will move the start position view, but then keyboard commands don't move. it also clearly thinks that it is the position (0,0,0) based on some sound commands that we have going. it doesn't give any error message. Code:
elif keyControl == 2: |
Try replacing the following lines:
Code:
link.setPos(targets['home']['position']) Code:
link.setOffset(targets['home']['position']) |
thanks, that worked well.
|
All times are GMT -7. The time now is 03:08 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC