diff options
author | reduz <reduzio@gmail.com> | 2021-04-27 12:43:49 -0300 |
---|---|---|
committer | reduz <reduzio@gmail.com> | 2021-04-30 17:38:02 -0300 |
commit | 90056460ad8e22d9166523dcb2defebb0581f95c (patch) | |
tree | d4cb11cbd03dc5b401f41627217b5d82cf06d195 /scene/resources/curve.h | |
parent | 0ad03ba052dd3b7bea558a3a76c7ff5c46bf681a (diff) |
Implement Particle Trails
-Enable the trails and set the length in seconds
-Provide a mesh with a skeleton and a skin
-Or, alternatively use one of the built-in TubeTrailMesh/RibbonTrailMesh
-Works deterministically
-Fixed particle collisions (were broken)
-Not working in 2D yet (that will happen next)
Diffstat (limited to 'scene/resources/curve.h')
-rw-r--r-- | scene/resources/curve.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/curve.h b/scene/resources/curve.h index 402c893cd8..746c6fa597 100644 --- a/scene/resources/curve.h +++ b/scene/resources/curve.h @@ -122,7 +122,7 @@ public: void bake(); int get_bake_resolution() const { return _bake_resolution; } void set_bake_resolution(int p_resolution); - real_t interpolate_baked(real_t offset); + real_t interpolate_baked(real_t offset) const; void ensure_default_setup(float p_min, float p_max); |