Comments (2)
Makes total sense and shouldn't be too hard to implement. Will try to get that added soon.
from cogito.
Added the following in 202402.04:
CarryableComponent now has a drop_distance property.
If the distance between object and the carryable position goes above this value, the object gets dropped.
It's not perfect but helps with "sticky objects".
As a fun side-effect, if the carrying_velocity_multiplier can't keep up with how much the player moves around with the mouse, the drop_distance is easily reached, thus making it feel like you can actually physically throw objects.
Tweaking these properties is definitely recommended to achieve desired behaviour.
from cogito.
Related Issues (20)
- Separate interactable detection from PlayerInteractionComponent HOT 1
- Player can enter the sprinting state midair HOT 3
- [Suggestion] GUI elements in 3D world HOT 4
- Dropping a carried item while your cursor is hovering over another one activates the interact on said item HOT 3
- Dynamically add player HUD to map scenes HOT 14
- Opened doors break upon scene transition HOT 5
- Making an object throwable and support for physics objects? HOT 4
- Cogito Objects that aren't unchanged instanced of their scenes / have overrides do not save/load properly HOT 2
- InteractionRaycast doesnt appear to be working at all HOT 4
- Making a Grid Inventory HOT 2
- Missing Parameter in door sync code HOT 3
- [Improvement/Suggestion] Stealth / Brightness Improvements HOT 4
- Invalid get index 'interactive_object_detected' (on base: 'Nil') HOT 6
- Inventory system / grid based: Using item while moving another one can override/delete it. HOT 2
- Quest: Steal the laptop - win condition doesn't get triggered - item checker issue? HOT 2
- Inventory System / Grid based: Item graphic doesn't get position correctly on move (game pad) HOT 1
- Character gets stuck on stairs HOT 4
- A character flies a crate HOT 5
- When opening the inventory, the player is frozen while the world keeps moving. HOT 2
- The platform pushes the player off the map if you stand under it HOT 3
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.