Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Ceraph · Jan 16, 2014 at 05:05 AM · particlesparticle system

Particles in Orthographic Camera Disappearing Too Soon

Hello, I'm currently working on a particle effect that is supposed to travel behind the player when they activate a boosting ability. I have the emissionRate set to 0 so I can emit a specific number of particles as a burst in code. The particle system looks fine when I simulate it in the scene view, but when I play the game the particles just disappear after a fraction of a second (their lifetime is set to a random value between 2 and 3 seconds). I've noticed some very peculiar facets to this behavior.

First this only appears to happen when the cone is pointed to the left or right relative to the camera (270 or 90 degrees on the Y axis). If the cone is pointed toward or away from the camera the particles will die at the appropriate time. As it rotates from the side to the front the particles last increasingly longer.

If I activate the boost ability again immediately, more particles are emitted and the old particles that disappeared are now visible again and appear to have been simulating the entire time, but were just not visible. After the same amount of time all the particles will become invisible again.

If I change the orthographic camera's size so it is larger (making everything on camera smaller) then the particles live longer before they are killed prematurely. If I make the camera perspective then there is no abnormal behavior with the particles at all.

If I turn up the emissionRate to around 10 then the burst particles stay alive as long as they should. This is not ideal, though, as I want just the burst particles and not a steady stream.

I tried playing around with the clipping plane on the camera but with no success. Even when the particles are clearly within the clipping plane they still disappear early.

Has anyone else noticed strange behavior with the particle system and orthographic cameras? Any ideas on how to address this issue would be amazing.

For reference I am running Unity Version 4.3.3f1 (c8ca9b6b9936)

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image mire · Jul 16, 2014 at 04:10 PM 0
Share

I think I'm seeing the same thing, particles render in the scene viewer and in a perspective camera, but not in an orthographic camera. Did you ever find a solution?

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by atr0phy · Mar 28, 2015 at 11:51 AM

You have to remember that the particles are moving along all 3 axis, regardless of your camera. Movement on the Z-axis is going to lead to odd behavior like you describe. Locking the Z-axis is what worked for me when I had this issue.

For example, set the following in your particle system:

Limit Velocity over Lifetime > Separate Axis = true > X/Y-axis = 9999 (since i didn't want to dampen those axes) > Z-axis = 0

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

20 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Application.LoadLevel and particle system 1 Answer

Sub emitter lighting problems 1 Answer

Particle systems doesnt instantiate in builded game 0 Answers

Particle system not outputting what it's supposed to. 0 Answers

how to turn on and off particles with key press 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges