Skip to content

CPU Particles not emitting in correct direction with double precision #89061

Closed
@TCROC

Description

@TCROC

Tested versions

  • Reproducible in: Godot Engine v4.3.dev.mono.custom_build.a47830c66 (double precision enabled)
  • Not Reproducible in: Godot Engine v4.3.dev.mono.custom_build.a47830c66 (double precision disabled)

System information

Godot v4.3.dev.mono (a47830c66) - Pop!_OS 22.04 LTS - Wayland - Vulkan (Mobile) - dedicated Intel(R) Arc(tm) A750 Graphics (DG2) () - AMD Ryzen 7 5800X 8-Core Processor (16 Threads)

Issue description

This was discovered when testing the billboards issue over here: #89020.

I think they may be 2 different issues so I'm opening up a separate one for the sake of tracking. Without further ado:

When running Godot with double precision, rotating the particles in 3d space has no effect on the direction particles are emitted in. The builds without double precision do work though. Here are some pictures showing without and with double precision:

Double Precision Disabled

image

Double Precision Enabled

image

Steps to reproduce

  1. Open the MSRP
  2. Make sure you have a build of godot with and without double precision enabled.
  3. See that the particles emit in the correct direction without double precision.
  4. See that they do not respect rotation and emit in the wrong direction with double precision.

Minimal reproduction project (MRP)

GodotCpuParticlesBug.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions