Comments (3)
The root of this issue is the same as #87221
We currently have a part of the particle shader that removes the velocity of the particle if the length of the velocity is less than 3 and it collides with a surface. #87320 removes that section of code which will fix this issue as a result
from godot.
Here is another example. Note how the particles collide with the box when I use radial acceleration, but go right through the box when I use radial velocity.
2024-04-30_08-32-02.mp4
from godot.
I believe some of this is normal behavior - In the first example, the velocity emitter had Gravity set to 0, and a negative initial velocity: So when a particle collides with the box, it gets deflected - but there's no continuous force pushing it down the sides. Enabling gravity allows it to slide down the sides of the box as usual. EDIT: I see it should be deflected, but instead stops completely. Definitely a bug in the particle physics logic.
In the second example, it seems to be caused by setting a positive animated velocity - as the particle reaches the box, the collision should impart a 'reverse force' and prevent it from going through (and should set velocity to 0ish), but the animated minimum velocity forces the particle to keep moving through the box. Animating directional velocity using the directional velocity curve also causes this issue.
I think for good collisions you need to be using the "velocity limit" curve to allow the particles to be stopped by collisions while still limiting its maximum velocity.
from godot.
Related Issues (20)
- Scale is applied after orienting the ring emitter shape in Particles making it skew the shape
- reflection probe resoloution never changes despite changing the reflection atlas if reflection probe is in UPDATE_ALWAYS mode HOT 24
- MultiplayerSynchronizer in a bad state after saving branch as scene that it was referencing.
- Are res:// and user:// paths broken on Android? HOT 2
- Adding Shortcut for Remote Debug adds but doesn't works. HOT 2
- Autocompletion fails when script is attached in the current scene HOT 1
- Crash to desktop when setting an AnimationTree AnimationNodeBlendSpace2D's blend mode before creating points. HOT 1
- Toggling distraction-free mode with external script editor enabled opens a new editor every time. HOT 2
- Resource on Dictionary
- Regression in "GDScript: fix segfault on invalid script" with `const foo : GDScript= preload(...)`
- `Geometry2D.is_polygon_clockwise` always returns false for some triangles. HOT 2
- Editing StringName argument adds extra `&`
- Tooltips don't scroll when editor is in `Single Window Mode`
- Missing "Manage Groups" Button in "Scene -> Node -> Groups" Menu HOT 2
- Error when using `TextEdit`'s minimap with horizontal scrolling
- [glTF] Very high light range values of imported lights are causing shadows not to render HOT 5
- RichText Justified Behavior is Not Correct HOT 6
- PackedStringArray missing methods HOT 6
- GDScript editor IntelliSense is displaying the wrong type for a defined variable HOT 1
- Null references not working as intended in Godot 4.3 dev6? HOT 1
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 godot.