Code Monkey home page Code Monkey logo

massparticle's People

Contributors

i-saint avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

massparticle's Issues

error CS0227

Assets\MassParticleExamples\Gimmicks\Scripts\ParticleHandler.cs(4,21): error CS0227: Unsafe code may only appear if compiling with /unsafe. Enable "Allow 'unsafe' code" in Player Settings to fix this error.

Unity 2019.4

Crash when adding colliders/forces

I'm trying to track down a crash (exception 0xc000005) in the CPU particle system.

in mpWorld.cpp:924
m_pcombinable.combine_each([&](const mpPForceCont &pf) {
for (int i = 0; i < (int)pf.size(); ++i) {
const mpParticleForce &h = pf[i];
(simdvec4&)m_pforce[i].position += h.position; // CRASH HERE
(simdvec4&)m_pforce[i].force += h.force;
m_pforce[i].num_hits += h.num_hits;
}

We are adding and removing colliders and forces, It seems to have something to do with that.

Performance question

We want to build a custom VR machine for mass particle.

Do you have any advice on what part of the lib to use (GPU or CPU version) and what kind of hardware could reach the highest particle count with collisions?

Crash on CPU particles build with SteamVR

The CPU version of the particles crashes if you use SteamVR and build. The GPU version seems ok.

To replicate:
Disable default camera
Add the SteamVR camera
Build the exe. It crashes immediately on startup.

Note: works fine in editor mode.

Both in the latest and previous version of unity.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.