Comments (5)
Thanks for your response! I have not changed the set up as far as I know (unless I did something by accident) but here is the book in question:-
I also noticed that if I add paragraphs to another readable I have, I also cannot scroll.
Edit: Just confirming - I can use the scroll in the COGITO_3_Lobby scene after your update but still can't scroll in my scene - readables seem to be set up the same.
from cogito.
Ok I feel silly now :D I moved the player node to the top of the hierarchy in my scene and the scrolling now works!
Thank you for the help :D
from cogito.
Don't feel silly! I've run into this problem more times than I can count.
Glad you were able to solve it!
from cogito.
Hey, so I was not able to reproduces this bug fully.
I've added a few more paragraphs to the first demo readable (note_welcome) and I can scroll with the mouse and the scrollbar as expected.
2024-07-09.08-55-11_compressed.mp4
Have you by chance changed the ReadableComponent setup? If so, could you show your node setup?
The behavior with the readable scrolling when the player highlights inventory slot is caused by the follow_focus_center script. This script basically "auto-scrolls" the ScrollContainer relative to whatever Control node is in focus, even if those nodes are the Inventory slots. It's not really a major issue.
If you want the player to be unable to have the Inventory and a Readable open at the same time, make sure to turn Ignore Open GUI
off in the InteractionComponent section of your ReadableComponent.
As a side note: I've noticed that you couldn't scroll the readables with a game pad. I've just pushed a small update that fixes this, enabling the player to scroll readables with the right thumbstick.
from cogito.
Hm... would you mind sharing the node setup of your scene?
For anything UI related, node order inside the hierarchy matters, so I suspect that somehow another node might be "on top" of your readable, blocking the input.
As a quick test, you could try putting your readable object into one of the demo scenes as well and see if that changes the behavior.
from cogito.
Related Issues (20)
- The platform pushes the player off the map if you stand under it HOT 3
- Flashlight not always turning on/off properly when used while walking/running. HOT 4
- Multiple interactions can occur with a single button press HOT 4
- Unrelated inventory squares are highlighted when squares are selected
- Inventory item tooltip remains visible when mousing off the inventory panel HOT 2
- Game crashes when pressing Esc afther going to the laboratory from the lobby HOT 3
- SubViewport as Root causes errors HOT 6
- Controller support in ui and menus HOT 2
- The fire demo table will eventually overload and kill the frames per second HOT 3
- Save system: Temp scene states don't get "reset" on "loading saved game" HOT 1
- Character can't move in demo and no explanation why HOT 7
- Editor freezes for minutes importing a very large image HOT 2
- Wieldable is_on state not saved/loaded on scene change HOT 2
- Gamepad, Player Inventory: Unable to "Use" wieldables or combinables HOT 8
- Demo hint collision behavior is non-immersive HOT 3
- "CogitoSceneManager" not declared in the current scope HOT 3
- swimming [feature request] HOT 3
- Cogito crashes on editor startup HOT 5
- Shooting projectiles on enemy makes COGITO crash. HOT 2
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 cogito.