Comments (4)
movement-controls="fly:true"
Oh I see you're still using wasd-controls actually on camera rig, that's probably why I see weird rotation of camera in viewer mode, because look-controls is on the rig and not the camera. wasd-controls and look-controls are meant to be on the camera, not the rig, but then it conflicts with cursor-teleport that moves the rig and not the camera. That's why you need to switch to movement-controls on rig and look-controls on camera, and remove wasd-controls usage.
from 3dstreet.
@vincentfretin i was trying to have one camera rig (aka "Viewer") that is used in all cases for vr, mobile ar, desktop which motivated this structure for having a camera rig instead of something simpler. for in vr teleport and cursor teleport a rig was needed.
discussion on similar topics from 2019:
aframevr/aframe#3394 (comment)
That's why you need to switch to movement-controls on rig and look-controls on camera, and remove wasd-controls usage.
So the plan would be:
- put look-controls on camera instead of rig
- use movement-controls on rig (this repo https://github.com/c-frame/aframe-extras/tree/master/src/controls) instead of wasd-controls on rig
from 3dstreet.
ok here's a PR for this. it seems to work exactly the same, including that the fly option does not work.
#749
from 3dstreet.
I fixed the issue in your PR.
from 3dstreet.
Related Issues (20)
- pin `maps` property to the top of right-hand properties panel for geospatial layer
- zoom and camera reset buttons stopped working HOT 6
- preview entity shows up when loading new scene sometimes HOT 3
- regression: click to teleport doesn't work HOT 1
- which way is north? - add geospatial orientation to docs
- add osm map type
- drag and drop pro layer doesn't work on production HOT 2
- investigate supporting clipping planes for 3dtiles for patricio HOT 5
- input box rename duo - rename entity and save as...
- regression - streetplan site not loading HOT 1
- clumping of pedestrians
- Unlock geospatial and add warning message
- prompt to choose location for streetmix user
- help contents to docs instead of modal
- new create "Streets" group in add entity panel HOT 1
- default google 3d tiles not shown in scenegraph after setting location
- option to show system layers HOT 1
- ui scroll issue in right-hand panel cannot select bottom-most property HOT 1
- POC for text-to-3d model HOT 1
- welcome video
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 3dstreet.