Pages 1
Universal Fighting Engine Forum We are no longer using the forum to answer questions due to bot attacks. Please use our discord instead: https://discord.gg/hGMZhF7 |
You are not logged in. Please login or register.
Universal Fighting Engine Forum → UFE 1 Source (Deprecated) → Spawning particles with a local offset
Ive been working on particle attacks with my game.
The current code uses an offset in world space, so when I rotate on the z-axis, it goes way off.
Does anyone know how to spawn a particle in local space, relative to the body part being used to spawn it?
Have you tried parenting a particle effect to an empty gameObject and spawning that instead of a particle effect by itself? That normally fixes any rotation problems I have when particle effects are involved. It makes it easier to mirror them as well.
It's using the projectile system, so it spawns it's own gameobject.
Because Im using my z-axis code, the mirroring isn't really a factor.
Universal Fighting Engine Forum → UFE 1 Source (Deprecated) → Spawning particles with a local offset
Powered by PunBB, supported by Informer Technologies, Inc.