Fixes missng 2D engine bits
-Mesh2D now works -MultiMesh2D now works -Polygon2D now works -Added hooks for processing 2D particles -Skeleton2D now works 2D particles still not working, but stuff needed for it is now implemented.
This commit is contained in:
parent
a1cc6b45dc
commit
479391ef54
18 changed files with 395 additions and 308 deletions
|
|
@ -613,6 +613,7 @@ void GPUParticles3D::_bind_methods() {
|
|||
|
||||
GPUParticles3D::GPUParticles3D() {
|
||||
particles = RS::get_singleton()->particles_create();
|
||||
RS::get_singleton()->particles_set_mode(particles, RS::PARTICLES_MODE_3D);
|
||||
set_base(particles);
|
||||
one_shot = false; // Needed so that set_emitting doesn't access uninitialized values
|
||||
set_emitting(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue