Comments (2)
Yes. You will need to set the ProjectileData.Rotation value in order to do this. I will include this option in a future build. For now you could do something like:
node.Item.Rotation = Mathf.Atan2(deltaPosition.y, deltaPosition.x);
You could add this line of code in ProjectileEmitterAdvanced, after line 328:
// Update foreground and outline color data
UpdateProjectileColor(ref node.Item);
// Rotate projectile towards direction
node.Item.Rotation = Mathf.Atan2(deltaPosition.y, deltaPosition.x);
Have your sprite pointing towards the right when you import it.
from unity-bullet-hell.
Thank you very much!
from unity-bullet-hell.
Related Issues (14)
- How to use Shape Emitters? HOT 2
- sorting layer HOT 3
- bullets are not shown in build version HOT 5
- flickering bullet HOT 1
- Projectiles not displaying in WebGL Build HOT 5
- Changing texture doesn't affect the appearance of the projectile HOT 4
- How can I use collisions with this?
- How can I pause the projectiles when the game running
- Doesn't seem to work (Unity 2019.1.13f1) HOT 4
- How to use shape emitter? HOT 4
- Guideline for Emitters attached to game objects with lyfecycle?
- Building Project HOT 2
- depth
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unity-bullet-hell.