I am not able to spawn bullets even after setting everything as mentioned in documentation and at this webpage ? Also,why max active bullets is always zero, even if max bullets is not zero ? Please help me.
Viewing post in [Updated 21st April] BulletFury Demo!
a few things to check, if you reply while I'm not at my computer:
- first things first, make sure the demo scene runs properly. If it does, it's likely an issue with your script or spawn settings
- check the console to make sure there are no errors. The most likely one is that the bullet material isn't using the correct shader, or it doesn't have GPU instancing enabled.
- make sure the fire rate is some normal value. The value is the number of seconds between spawns, it's generally best to have this somewhere between 0 and 1
- make sure the number of sides and number per side are 1 or higher. If either are 0, it won't spawn any bullets!
- make sure you're calling bulletManager.Spawn somewhere, with a position and direction. I usually do this in Update
- if all of those things are true, zip up your Assets folder and send it to me at support@wayfarer-games.com (https://wetransfer.com is a great way to do that if your project is bigger than a few megabytes) and I'll have a look and see what I can figure out!